]> granicus.if.org Git - php/commit
Fixed Bug #66218 zend_register_functions breaks reflection
authorRemi Collet <remi@php.net>
Tue, 10 Dec 2013 15:07:16 +0000 (16:07 +0100)
committerRemi Collet <remi@php.net>
Tue, 10 Dec 2013 15:07:16 +0000 (16:07 +0100)
commit3e963f8eb44863ef3d758eabe791190b0fd7bb9a
treeed018479c9c958c7971c478b81dbc061096a7fbd
parentc062c18d426e8b1e4d7e4fabb6a5eae331f6e58b
Fixed Bug #66218 zend_register_functions breaks reflection

Functions registered using zend_register_functions instead of zend_module_entry.functions are not seen on reflection.

Ex: additional_functions from api_module_entry.
Ex: in CLI, dl, cli_set_process_title and cli_get_process_title

Note:
- also affects functions overrided in extension
  (should be be reported in extension, where overrided, not in original extension)
- also allow extension to call zend_register_functions for various list
  (instead of having a single bug list)
NEWS
Zend/tests/bug66218.phpt [new file with mode: 0644]
Zend/zend_builtin_functions.c
ext/reflection/php_reflection.c
ext/reflection/tests/ReflectionExtension_bug66218.phpt [new file with mode: 0644]