Re: Closures and $this
| From: | Stanislav Malyshev | Date: | Wed, 18 Nov 2009 18:44:00 +0000 |
| Subject: | Re: Closures and $this | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46088@lists.php.net to get a copy of this message | ||
Hi!
As for public/protected/private ... $fn = function() use() bind() access(CLOSURE_PUBLIC | CLOSURE_PROTECTED | CLOSURE_PRIVATE) {};I have very hard time imagining somebody that would be comfortable using such a construct. What happened to keeping it simple? And why every tiniest feature of every remotest imaginable use case has to be brought into the language syntax? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com