]> granicus.if.org Git - php/commit
Merged zend_array and HashTable into the single data structure.
authorDmitry Stogov <dmitry@zend.com>
Fri, 13 Feb 2015 19:20:39 +0000 (22:20 +0300)
committerDmitry Stogov <dmitry@zend.com>
Fri, 13 Feb 2015 19:20:39 +0000 (22:20 +0300)
commite10e151e9b92313a7085272c85bebf6c82017fce
tree6cac4100536c5e25143c55d1ab6b2f3b3dc81cf9
parentbc630ad6da0c6d7cf2d224dba8972499d5691c6b
Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
40 files changed:
Zend/zend.c
Zend/zend_builtin_functions.c
Zend/zend_closures.c
Zend/zend_compile.c
Zend/zend_execute.c
Zend/zend_execute_API.c
Zend/zend_gc.c
Zend/zend_hash.c
Zend/zend_hash.h
Zend/zend_object_handlers.c
Zend/zend_operators.c
Zend/zend_types.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/dom/php_dom.c
ext/gmp/gmp.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/readline/readline_cli.c
ext/session/session.c
ext/soap/soap.c
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/browscap.c
ext/standard/http_fopen_wrapper.c
ext/standard/info.c
ext/wddx/wddx.c
main/main.c
main/php_variables.c
sapi/cli/php_cli.c
sapi/fpm/fpm/fpm_php.c
sapi/phpdbg/phpdbg_info.c
sapi/phpdbg/phpdbg_prompt.c
sapi/phpdbg/phpdbg_wait.c
sapi/phpdbg/phpdbg_watch.c
sapi/phpdbg/phpdbg_webdata_transfer.c