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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vladimir dot kulev at gmail dot com
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 09:01:29 2024 UTC