Bug #66218 [NEW]: zend_register_functions issue break reflection

From: Date: Mon, 02 Dec 2013 13:34:13 +0000
Subject: Bug #66218 [NEW]: zend_register_functions issue break reflection
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183052@lists.php.net to get a copy of this message
From:             remi
Operating system: irrevelant
PHP version:      5.5.6
Package:          Reflection related
Bug Type:         Bug
Bug description:zend_register_functions issue break reflection

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 bug report at https://bugs.php.net/bug.php?id=66218&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66218&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66218&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66218&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66218&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66218&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66218&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66218&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66218&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66218&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66218&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66218&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66218&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66218&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66218&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66218&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66218&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66218&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66218&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66218&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66218&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#183052) next »