Re: [patch] extending internal functions with module information
| From: | Andi Gutmans | Date: | Tue, 30 Aug 2005 05:20:49 +0000 |
| Subject: | Re: [patch] extending internal functions with module information | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18547@lists.php.net to get a copy of this message | ||
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:
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