It is possible to do it, but I don't see any reason to invest time into
it. PHP scripts hardly ever use nested functions, and you always can
access global variables through "global" or $GLOBALS. I don't see, why
do we need another way to do the same.

Thanks. Dmitry.

Lars Strojny wrote:
> Hi Dmitry,
> 
> Am Freitag, den 20.06.2008, 16:19 +0400 schrieb Dmitry Stogov:
>> No it won't.
> 
> While I don't want to use it, it might be really confusing to our users
> that it works different to closures (because the declaration of
> functions and closures looks similar). Are there any internal
> limitations why not to do it?
> 
> cu, Lars

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to