]> granicus.if.org Git - php/commit
Change Zend Stream API to use zend_string* instead of char*.
authorDmitry Stogov <dmitry@zend.com>
Tue, 16 Mar 2021 17:31:36 +0000 (20:31 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 16 Mar 2021 17:31:36 +0000 (20:31 +0300)
commitc732ab400af92c54eee47c487a56009f1d79dd5d
tree083d31748450932114a7667aae9235cde030efcb
parent9bbeb0555b6b842ebd44e08510ff3f3226237544
Change Zend Stream API to use zend_string* instead of char*.

This allows to eliminate re-calculation of string lenght and hash value.
See the detailed list of changes in UPGRADING.INTERNALS.
45 files changed:
UPGRADING.INTERNALS
Zend/zend.c
Zend/zend.h
Zend/zend_compile.c
Zend/zend_dtrace.c
Zend/zend_execute.c
Zend/zend_execute_API.c
Zend/zend_globals.h
Zend/zend_ini_parser.y
Zend/zend_ini_scanner.l
Zend/zend_language_scanner.l
Zend/zend_llist.c
Zend/zend_stream.c
Zend/zend_stream.h
ext/opcache/ZendAccelerator.c
ext/opcache/ZendAccelerator.h
ext/opcache/zend_accelerator_hash.c
ext/opcache/zend_accelerator_hash.h
ext/opcache/zend_accelerator_module.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist.h
ext/opcache/zend_persist_calc.c
ext/phar/phar.c
ext/phar/phar_internal.h
ext/phar/phar_object.c
ext/phar/util.c
ext/readline/readline_cli.c
ext/spl/php_spl.c
ext/standard/basic_functions.c
ext/standard/browscap.c
ext/standard/streamsfuncs.c
main/fopen_wrappers.c
main/main.c
main/php_ini.c
main/php_main.h
main/php_streams.h
main/streams/streams.c
sapi/apache2handler/sapi_apache2.c
sapi/cgi/cgi_main.c
sapi/cli/php_cli.c
sapi/cli/php_cli_server.c
sapi/fuzzer/fuzzer-sapi.c
sapi/litespeed/lsapi_main.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_prompt.c