com php-src: Fixed typo in get_extension_funcs: Zend/ze nd_builtin_functions.c

From: Date: Mon, 03 Mar 2014 09:06:04 +0000
Subject: com php-src: Fixed typo in get_extension_funcs: Zend/ze nd_builtin_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77843@lists.php.net to get a copy of this message
Commit: dc96140721001e895ab18c128651543bd59f7efa Author: Xinchen Hui <laruence@gmail.com> Mon, 3 Mar 2014 17:06:04 +0800 Parents: 7735226e365365a1ccae01158b2fb62d0b06ed16 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc96140721001e895ab18c128651543bd59f7efa Log: Fixed typo in get_extension_funcs Changed paths: M Zend/zend_builtin_functions.c Diff: diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index b32de18..aac29ce 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -2406,8 +2406,8 @@ ZEND_FUNCTION(get_extension_funcs) } else { array = 0; } - while ((zif = zend_hash_get_current_data_ptr_ex(CG(function_table), &iterator)) == SUCCESS) { - if (zif->common.type==ZEND_INTERNAL_FUNCTION + while ((zif = zend_hash_get_current_data_ptr_ex(CG(function_table), &iterator)) != NULL) { + if (zif->common.type == ZEND_INTERNAL_FUNCTION && zif->internal_function.module == module) { if (!array) { array_init(return_value);

« previous php.cvs (#77843) next »