Re: Closures and $this: Please vote!
| From: | Victor Bolshov | Date: | Fri, 18 Dec 2009 04:56:39 +0000 |
| Subject: | Re: Closures and $this: Please vote! | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46467@lists.php.net to get a copy of this message | ||
I vote for (A). bind() and bindTo() seem messy to me. However, I
mostly vote for no implicit $this changes in closures (no
javascript-like behaviour), so (A+) approach would be much better than
(C) or (D). (0) case is not my choice, because I really would like to
see $this support in closures back.
Regards,
Victor