Re: Call for voting: [RFC] Allow use T_AS in closure use statement
| From: | Ivan Enderlin @ Hoa | Date: | Thu, 19 Jul 2012 14:39:42 +0000 |
| Subject: | Re: Call for voting: [RFC] Allow use T_AS in closure use statement | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61489@lists.php.net to get a copy of this message | ||
On 18/07/12 17:19, Leigh wrote:
I missed the discussion on this one, the RFC examples are very simple. Does it support aliasing array indices? I have missed the discussion two.I can't vote but I don't feel confortable with this new notation. Wouldn't be better to make the “=” operator available in use()? It has the same semantics, no? Best regards :-).
For example: (use $matches[0] as $name) On Jul 18, 2012 3:55 PM, "Laruence" <laruence@php.net> wrote:-- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/Hi:Call for voting for "Allow use T_AS in closure use statement",https://wiki.php.net/rfc/useas#votingany comment will be appreciated.thanks -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php