diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 21:51:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 21:51:49 +0200 |
commit | af59e92b24c8f624672720d47ef65bd8457728b9 (patch) | |
tree | 1da992a4689783e1351760a8702cbf6844ad37aa /Zend/zend_exceptions.c | |
parent | b9514bb8fd27e2d841bab3eb256fcbaa613aa049 (diff) | |
download | php-git-af59e92b24c8f624672720d47ef65bd8457728b9.tar.gz |
master renames phase 7PRE_AST_MERGE
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r-- | Zend/zend_exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index ff408d0bfd..bec30cd006 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -667,7 +667,7 @@ ZEND_METHOD(exception, __toString) convert_to_string_ex(&message); convert_to_string_ex(&file); - convert_to_int_ex(&line); + convert_to_long_ex(&line); fci.size = sizeof(fci); fci.function_table = &Z_OBJCE_P(exception)->function_table; @@ -910,7 +910,7 @@ ZEND_API void zend_exception_error(zend_object *ex, int severity TSRMLS_DC) /* { convert_to_string_ex(str); convert_to_string_ex(file); - convert_to_int_ex(line); + convert_to_long_ex(line); zend_error_va(severity, (Z_STRLEN_P(file) > 0) ? Z_STRVAL_P(file) : NULL, Z_LVAL_P(line), "Uncaught %s\n thrown", Z_STRVAL_P(str)); } else { |