Re: Closures and $this: Please vote!

From: Date: Thu, 24 Dec 2009 12:19:44 +0000
Subject: Re: Closures and $this: Please vote!
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-46522@lists.php.net to get a copy of this message
Hello again,

A quick summary of the votes so far (since 15th December):

internals@ votes:

0:  (1) Alexey Zakhlestin
A:  (1) Hannes Magnusson
C:  (0) -
D:  (0) -
A+: (2) Christian Seiler, Joey Smith
AS: (1) Stanislav Malyshev
---------------------------
     5 votes

[AS is Stas' version with bind/bindTo but no implicit
$obj->x = function () { ... } ; $obj->x(); without userland implementing
it in __call]

non-internals@ votes:

0:  (0) -
A:  (1) Victor Bolshov
C:  (0) -
D:  (0) -
A+: (4) Ionut G. Stan, Richard Quadling, Mike Robinson, Larry Garfield
AS: (0) -
---------------------------
     5 votes

Total tally:

0:   1
A:   2
C:   0
D:   0
A+:  6
AS:  1
---------------------------
    10 votes

My suggestion is to wait until the 15th of January (that's one month
since I started this thread) and that should have been enough time of
everybody.

Regards,
Christian

PS: As a side note, since somebody brought it up in the past few days:
It is not really *technical* issue with the engine which variant we
implement, it's simply a design choice. We didn't drop $this support in
closures in 5.3 for technical reasons but for the simple reason that
there was no agreement in sight on *how* to implement it. And since the
current code for closures is a bit of a mess in PHP6 because of the back
and forth due to the numerous discussions, I'll have to touch it again
anyway. (I only cleaned up 5.3 for the release.)


Thread (36 messages)

« previous php.internals (#46522) next »