mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Even though it is ignored this should be correct
This commit is contained in:
parent
655f2dc572
commit
80c0cdf7f7
@ -268,7 +268,7 @@ ZEND_METHOD(exception, gettraceasstring)
|
||||
int len = 0, num = 0;
|
||||
|
||||
trace = zend_read_property(Z_OBJCE_P(getThis()), getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_CC);
|
||||
zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 2, &str, &len, &num);
|
||||
zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 3, &str, &len, &num);
|
||||
|
||||
str[len] = '\0';
|
||||
RETURN_STRINGL(str, len, 0);
|
||||
|
@ -268,7 +268,7 @@ ZEND_METHOD(exception, gettraceasstring)
|
||||
int len = 0, num = 0;
|
||||
|
||||
trace = zend_read_property(Z_OBJCE_P(getThis()), getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_CC);
|
||||
zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 2, &str, &len, &num);
|
||||
zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 3, &str, &len, &num);
|
||||
|
||||
str[len] = '\0';
|
||||
RETURN_STRINGL(str, len, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user