alias a function

From: Date: Wed, 27 Oct 2004 02:27:32 +0000
Subject: alias a function
Groups: php.general 
Request: Send a blank email to php-general+get-200395@lists.php.net to get a copy of this message
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" with changes to the parent function categorise() -- in particular, having the correct number of attributes and default values, for example. TIA Justin French

« previous php.general (#200395) next »