php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #37078 Add rename_function to main package
Submitted: 2006-04-14 03:07 UTC Modified: 2006-04-14 08:01 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: vladimir dot kulev at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.1.2 OS: Gentoo/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 - 8 = ?
Subscribe to this entry?

 
 [2006-04-14 03:07 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-14 03:47 UTC] vladimir dot kulev at gmail dot com
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 ).
 [2006-04-14 08:01 UTC] johannes@php.net
No way.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 11:01:30 2024 UTC