Re: Closures and $this: Please vote!
| From: | Joey Smith | Date: | Thu, 17 Dec 2009 00:41:36 +0000 |
| Subject: | Re: Closures and $this: Please vote! | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46452@lists.php.net to get a copy of this message | ||
On Tue, Dec 15, 2009 at 08:46:44PM +0100, Christian Seiler wrote:
> (A+): (A) + Closure::bind & Closure->bindTo for rebinding
> if this is wanted & the possibility to call a closure as an object
> method. (See last section of RFC for details)
+1 for "A+" with class scope option 2
I'm a bit torn on how clone should be addressed - there's already some things
that (IMO) have a fairly high "WTF" factor on cloning, and I'd hate to see
more of that introduced.