#37078 [Opn]: Add rename_function to main package
| From: | vladimir dot kulev at gmail dot com | Date: | Fri, 14 Apr 2006 03:47:39 +0000 |
| Subject: | #37078 [Opn]: Add rename_function to main package | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95774@lists.php.net to get a copy of this message | ||
ID: 37078
User updated by: vladimir dot kulev at gmail dot com
Reported By: vladimir dot kulev at gmail dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: Gentoo/Linux
PHP Version: 5.1.2
New Comment:
Also it would be most useful if you add functions for renaming classes,
because this will make possible to use them as namespaces for everything
else ( methods, variables, constants ).
Previous Comments:
------------------------------------------------------------------------
[2006-04-14 03:07:22] vladimir dot kulev at gmail dot com
Description:
------------
Please move rename_function (and possibly override_function too) from
APD PECL package to main distribution, because this function guarantees
more extensibility and simply must be.
For example, you can include two php modules, where are two functions
with same names. Using rename_function modules can dynamically choose
unique names for functions and register them somewhere.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37078&edit=1