From d90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 29 May 2018 17:58:06 +0300 Subject: Removed useless zval_ptr_dtor() --- ext/reflection/php_reflection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/reflection/php_reflection.c') 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) { -- cgit v1.2.1