diff options
author | Nikita Popov <nikic@php.net> | 2014-04-21 17:12:10 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-04-21 17:55:58 +0200 |
commit | bda96e3c589b2b923e70abd4a5e66dfa824e8f5d (patch) | |
tree | 0b96e1f272da0c4fef4ac13462f894f183fe378d /ext/reflection/php_reflection.c | |
parent | 5c8697184fa445fcd5fbd32b5334db2a0866464d (diff) | |
download | php-git-bda96e3c589b2b923e70abd4a5e66dfa824e8f5d.tar.gz |
Use zval_get_string in print_zval and propagate TSRMLS
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 0ef31460bd..86391115d0 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -1529,7 +1529,7 @@ ZEND_METHOD(reflection, export) ZVAL_COPY_VALUE(return_value, &retval); } else { /* No need for _r variant, return of __toString should always be a string */ - zend_print_zval(&retval, 0); + zend_print_zval(&retval, 0 TSRMLS_CC); zend_printf("\n"); zval_ptr_dtor(&retval); } |