Howto use zend_register_functions ? possible bug

From: Date: Mon, 02 Dec 2013 10:03:05 +0000
Subject: Howto use zend_register_functions ? possible bug
Groups: php.internals 
Request: Send a blank email to internals+get-70464@lists.php.net to get a copy of this message
Hi, Looking to a proper way to use "zend_register_functions" in MINIT function (to be able to register various list, from different sources) I found the "zend_register_functions" which is available in public API and used in - zend_register_module_ex() with module.functions - php_module_startup() with sapi_module.additional_functions Issue: reflection is broken for this registered functions. We have in sapi/cli/php_cli.c static const zend_function_entry additional_functions[] = { ZEND_FE(dl, arginfo_dl) PHP_FE(cli_set_process_title, arginfo_cli_set_process_title) PHP_FE(cli_get_process_title, arginfo_cli_get_process_title) {NULL, NULL, NULL} }; $ php --re standard | grep process_title => no result $ php -r 'print_r(get_extension_funcs("standard"));' | grep proces => no result Any idea how to properly register functions and keep reflection reliable ? Remi.

« previous php.internals (#70464) next »