Functions/methods aliases in PHp 5.2

From: Date: Sun, 15 May 2011 20:45:52 +0000
Subject: Functions/methods aliases in PHp 5.2
Groups: php.general 
Request: Send a blank email to php-general+get-312790@lists.php.net to get a copy of this message
Hi everyone, Is there any possibility to make a method or function alias in PHP? Yes, I know I can do the following: <?php function foo_bar($x) { // And so we code... return $result; } function FooBar($x) { return foo_bar($x); } But maybe there is a more elegant solution? Thanks! -- With best regards from Ukraine, Andre Skype: Francophile Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion

« previous php.general (#312790) next »