]> granicus.if.org Git - php/commit
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family...
authorDmitry Stogov <dmitry@zend.com>
Mon, 7 Apr 2014 19:14:17 +0000 (23:14 +0400)
committerDmitry Stogov <dmitry@zend.com>
Mon, 7 Apr 2014 19:14:17 +0000 (23:14 +0400)
commit3d17219cd88a73306acd6eeff8cbae02868318c6
tree0fc6fbd9f710573bae5e55ce0d29caf327bfcbb6
parent3167b49ce9533a344cb2f16fa5c815f9f81bb434
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
15 files changed:
Zend/zend_builtin_functions.c
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_hash.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/pcre/php_pcre.c
ext/session/php_session.h
ext/standard/array.c
ext/standard/http.c
ext/standard/info.c
ext/standard/streamsfuncs.c
ext/standard/string.c
ext/standard/user_filters.c
main/php_ini.c