Re: [PHP] Functions/methods aliases in PHp 5.2

2011-05-16 Thread David Harkness
On Sun, May 15, 2011 at 3:15 PM, Richard Quadling wrote: > Personally, I would recommend using 1 naming convention and sticking with > it. > I wholeheartedly agree. Multiple method names is not flexibility--it's confusion and an open invitation for bugs. Plus, even with two styles you'll never sa

Re: [PHP] Functions/methods aliases in PHp 5.2

2011-05-15 Thread Richard Quadling
.com/menelion > > Original message > From: Richard Quadling > To: Andre Polykanine > Date created: , 12:48:30 AM > Subject: [PHP] Functions/methods aliases in PHp 5.2 > > >      On 15 May 2011 21:45, Andre Polykanine wrote: >> Hi everyone, &

Re: [PHP] Functions/methods aliases in PHp 5.2

2011-05-15 Thread Andre Polykanine
AM Subject: [PHP] Functions/methods aliases in PHp 5.2 On 15 May 2011 21:45, Andre Polykanine wrote: > Hi everyone, > > Is there any possibility to make a method or function alias in PHP? > Yes, I know I can do the following: > > function foo_bar($x) { > // And so we code.

Re: [PHP] Functions/methods aliases in PHp 5.2

2011-05-15 Thread Richard Quadling
On 15 May 2011 21:45, Andre Polykanine wrote: > Hi everyone, > > Is there any possibility to make a method or function alias in PHP? > Yes, I know I can do the following: > > function foo_bar($x) { > // And so we code... > return $result; > } > > function FooBar($x) { > return foo_bar($x) > } > >

[PHP] Functions/methods aliases in PHp 5.2

2011-05-15 Thread Andre Polykanine
Hi everyone, Is there any possibility to make a method or function alias in PHP? Yes, I know I can do the following: 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