Hello Dmitry, Friday, June 20, 2008, 2:19:46 PM, you wrote:
> No it won't. > Dmitry. > Lars Strojny wrote: >> Hi Dmitry, hi Christian, >> >> Am Freitag, den 20.06.2008, 15:12 +0400 schrieb Dmitry Stogov: >>> $func = function ($x, $y) use $a, $b, $c { >>> } I really like your style here :-) We could discuss this over and over but what are we missgin at this point, should the patch just go into HEAD and we deal with tweaking the wording as we move on with trying it in real life? Personally I see 'parent' would work as well and I also doesn't matter to me whether the keyword has to be in fron or after the opening curly brace. thanks for your idea anyway. marcus >> Will lexical scoping work with normal ("named") functions too? >> >> function foo($x, $y) use $a, $b, $c { >> } >> Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php