Re: Re: PATCH: anonymous functions in PHP
| From: | Stanislav Malyshev | Date: | Sun, 16 Dec 2007 06:57:40 +0000 |
| Subject: | Re: Re: PATCH: anonymous functions in PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34044@lists.php.net to get a copy of this message | ||
I think the problem there is that this syntax wouldn't support external variables, and without them there's not much difference between that and create_function.
troels knak-nielsen wrote:
What was the conclusion on Wez' patch from march [1]? The discussion seemed to steer a bit off, on the discussion of scoping rules, but is there any reason _not_ to implement Wez' patch in HEAD? Even if it doesn't entirely replace create_function, it would be nice to have as a compile-time alternative. [1] http://groups.google.com/group/mailing.www.php-dev/browse_thread/thread/a2c3296dc791369a/075209b288cb28de-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com