Bug #66218 [PATCH]: zend_register_functions issue break reflection

From: Date: Mon, 02 Dec 2013 14:13:50 +0000
Subject: Bug #66218 [PATCH]: zend_register_functions issue break reflection
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183058@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66218&edit=1 ID: 66218 Patch added by: remi@php.net Reported by: remi@php.net Summary: zend_register_functions issue break reflection Status: Open Type: Bug Package: Reflection related Operating System: irrevelant PHP Version: 5.5.6 Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: reflection.patch Revision: 1385993630 URL: https://bugs.php.net/patch-display.php?bug=66218&patch=reflection.patch&revision=1385993630 Previous Comments: ------------------------------------------------------------------------ [2013-12-02 13:42:26] remi@php.net The following patch has been added/updated: Patch Name: bug66218.phpt Revision: 1385991746 URL: https://bugs.php.net/patch-display.php?bug=66218&patch=bug66218.phpt&revision=1385991746 ------------------------------------------------------------------------ [2013-12-02 13:34:13] remi@php.net Description: ------------ 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) Test script: --------------- Affected test - php --re standard - get_extension_funcs("standard")); - $r=new ReflectionExtension('standard'); print_r($r->getFunctions()); Expected result: ---------------- dl, cli_set_process_title and cli_get_process_title in list Actual result: -------------- dl, cli_set_process_title and cli_get_process_title missing ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66218&edit=1

« previous php.bugs (#183058) next »