Re: [PHP] alias a function

2004-10-27 Thread Justin French
On 27/10/2004, at 1:46 PM, Curt Zirzow wrote: Instead of aliasing, I would deprecate the function, so the old function would be: really hoping to alias rather than deprecate, but since it's not too easy, I'll just ditch the idea I think :) Thanks, Justin -- PHP General Mailing List (http://www.ph

Re: [PHP] alias a function

2004-10-26 Thread Curt Zirzow
* Thus wrote Justin French: > Hi, > > What's the quickest way to alias a user function? > > I have a function which uses english spelling (eg categorise instead of > categorize), and I want to alias the function with an "Americanized" > spelling. > > I'd rather that the alias categorize() did

[PHP] alias a function

2004-10-26 Thread Justin French
Hi, What's the quickest way to alias a user function? I have a function which uses english spelling (eg categorise instead of categorize), and I want to alias the function with an "Americanized" spelling. I'd rather that the alias categorize() did not have to be altered in any way to "keep up"