Re: Closures and $this

From: Date: Tue, 17 Nov 2009 16:39:59 +0000
Subject: Re: Closures and $this
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-46071@lists.php.net to get a copy of this message
Hello,

On Tue, Nov 17, 2009 at 2:59 AM, Mathieu Suen
<mathieu.suen@easyflirt.com> wrote:
> Christian Seiler a écrit :
>>
>> Hi,
>>
>> since a few months have passed since the last discussion on this topic
>> and perhaps people had time to gather some experience with the current
>> closure implementation in PHP 5.3 I'd like to restart the debate on
>> $this in closures and object extension.

I believe that (D) wins my vote, and it convinces me twice. Once
because I believe it is the most intuitive for users (A), and twice
because I believe it is also the most useful (C) for users. In my
opinion It seems the most "PHP" way.

-Chris


Thread (36 messages)

« previous php.internals (#46071) next »