Re: closures and $this
| From: | Adam Harvey | Date: | Fri, 23 Jul 2010 04:05:01 +0000 |
| Subject: | Re: closures and $this | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49123@lists.php.net to get a copy of this message | ||
On 23 July 2010 03:05, Harald Lapp <harald.lapp@gmail.com> wrote:
> i would like to ask what's the state of $this (and 'self') in closures.
> there seems to be no news on this topic for several month now. php 5.3.3 was
> just released and still nothing has changed regarding this. so i would like
> to ask, for which php release a solution is planned.
$this support in closures isn't intended to be included in the 5.3
series — the result of the vote late last year was the "modified
proposal A" documented at
http://wiki.php.net/rfc/closures/object-extension,
and that has been
implemented on trunk since April, so will be in the next major version
of PHP, whatever that's actually numbered as.
Adam