Re: Re: PATCH: anonymous functions in PHP
| From: | Marcus Boerger | Date: | Mon, 17 Dec 2007 13:09:47 +0000 |
| Subject: | Re: Re: PATCH: anonymous functions in PHP | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34061@lists.php.net to get a copy of this message | ||
Hello Alexey,
and for that reason we should do it! Can't Wez simply apply this?
marcus
Sunday, December 16, 2007, 3:22:40 PM, you wrote:
> On 12/16/07, Stanislav Malyshev <stas@zend.com> wrote:
>> 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.
> The difference is, that it is compile-time and create_function is run-time
>> 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
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> --
> Alexey Zakhlestin
> http://blog.milkfarmsoft.com/
Best regards,
Marcus