com php-src: Fixed get_defined_functions(): Zend/ze nd_builtin_functions.c
| From: | Dmitry Stogov | Date: | Fri, 28 Feb 2014 09:10:07 +0000 |
| Subject: | com php-src: Fixed get_defined_functions(): Zend/ze nd_builtin_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77881@lists.php.net to get a copy of this message | ||
Commit: 663990284ba638b782efcf1f812a6c38a19f09b0
Author: Dmitry Stogov <dmitry@zend.com> Fri, 28 Feb 2014 13:10:07 +0400
Parents: 17a009ddce6c64a2952be4cc4a462964bc37e3e4
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=663990284ba638b782efcf1f812a6c38a19f09b0
Log:
Fixed get_defined_functions()
Changed paths:
M Zend/zend_builtin_functions.c
Diff:
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 20477af..a32d853 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -1659,8 +1659,9 @@ ZEND_FUNCTION(get_declared_interfaces)
/* }}} */
-static int copy_function_name(zend_function *func TSRMLS_DC, int num_args, va_list args,
zend_hash_key *hash_key)
+static int copy_function_name(zval *zv TSRMLS_DC, int num_args, va_list args, zend_hash_key
*hash_key)
{
+ zend_function *func = Z_PTR_P(zv);
zval *internal_ar = va_arg(args, zval *),
*user_ar = va_arg(args, zval *);