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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat Apr 27 11:01:30 2024 UTC