Re: [PATCH] [RFC] Closures and lambda functions in PHP
| From: | Christian Seiler | Date: | Fri, 20 Jun 2008 20:02:06 +0000 |
| Subject: | Re: [PATCH] [RFC] Closures and lambda functions in PHP | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38490@lists.php.net to get a copy of this message | ||
Hi!
Since some raised issues with the word "lexical", what do people think to just re-use the (afaik deprecated) "var" keyword, so we won't need a new keyword in the chain.That would be quite confusing IMHO, since JavaScript uses 'var' for the exact opposite - to declare variables that are local and thus *not* taken from the parent scope. Regards, Christian