Re: [PATCH] [RFC] Closures and lambda functions in PHP
| From: | Lars Strojny | Date: | Fri, 20 Jun 2008 12:03:39 +0000 |
| Subject: | Re: [PATCH] [RFC] Closures and lambda functions in PHP | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38454@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc