summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-05-29 17:58:06 +0300
committerDmitry Stogov <dmitry@zend.com>2018-05-29 17:58:06 +0300
commitd90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f (patch)
treeb651c9cea24d5fd0c82796e498a46f1b96b40e4d /ext/reflection/php_reflection.c
parent44be0fa67b46506353c3dd27d97801bd0eddbb00 (diff)
downloadphp-git-d90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f.tar.gz
Removed useless zval_ptr_dtor()
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 0364c06441..5e71aa38f9 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -1470,7 +1470,7 @@ ZEND_METHOD(reflection, export)
/* Invoke the __toString() method */
ZVAL_STRINGL(&fname, "__tostring", sizeof("__tostring") - 1);
- result= call_user_function_ex(NULL, object, &fname, &retval, 0, NULL, 0, NULL);
+ result= call_user_function(NULL, object, &fname, &retval, 0, NULL);
zval_dtor(&fname);
if (result == FAILURE) {