Re: closures questions
| From: | Stanislav Malyshev | Date: | Tue, 22 Jul 2008 20:09:32 +0000 |
| Subject: | Re: closures questions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39197@lists.php.net to get a copy of this message | ||
Hi!
Hm, I'm not sure who expected it that way. At least Stas and myself voted *for* allowing it. We need to discuss the semantics (the order how methods are resolved, interceptors) but I had the feeling that most of use really much liked that feature.I'm all for doing it, the problem is the syntax $foo->bar() is already used. But you can do $foo->bar->__invoke()! -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com