[patch] extending internal functions with module information

php.internals

Johannes Schlueter

21 years ago
Hi Andi et al., the attached patch adds the module registering an internal function to the zend_internal_function structure. This information can be (and is by this patch) used by the reflection API - currently it's quite hard to get the extension defining a function. I additionally used this information to make a more verbose error messages when redefining an internal function. Please take a look at it and commit at will. johannes p.s. If the patch doesn't reach the list it's available at http://svn.schlueters.de/phpatches/HEAD/zend_function_module.diff, too. p.p.s. In Steph's PAT directory is my ReflectionProptery::getLinenumber() patch still waiting, too ;-) http://www.zend.com/zend/week/pat/pat26.txt

Andi Gutmans

21 years ago
Hi Johannes, I think this patch is useful and I see no reason not to include it. Due to API breakage I suggest we only put this into HEAD. Andi At 05:34 AM 8/27/2005, Johannes Schlueter wrote: