Re: [PATCH] [RFC] Closures and lambda functions in PHP
| From: | Dmitry Stogov | Date: | Fri, 20 Jun 2008 12:19:46 +0000 |
| Subject: | Re: [PATCH] [RFC] Closures and lambda functions in PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38455@lists.php.net to get a copy of this message | ||
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 {
>> }
>
> Will lexical scoping work with normal ("named") functions too?
>
> function foo($x, $y) use $a, $b, $c {
> }
>
> cu, Lars