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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php