Am 07.01.2012 10:34, schrieb Stas Malyshev: > Why you need to add $this there? $this should be available automatically > IIRC unless you make the closure static.
That is not the point I wanted to make. Explicitly listing $this in use() should not trigger a compiler error, IMHO. I just wanted to make sure that it was not an oversight to not remove the error message. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php