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
.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,
&
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.
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)
> }
>
>
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
5 matches
Mail list logo