Re: [RFC][VOTE] Group Use Declarations
| From: | Yasuo Ohgaki | Date: | Fri, 13 Feb 2015 04:18:13 +0000 |
| Subject: | Re: [RFC][VOTE] Group Use Declarations | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82577@lists.php.net to get a copy of this message | ||
Hi Marcio,
I send this because use of array operator has some popularities at least.
On Thu, Feb 12, 2015 at 11:25 PM, Marcio Almada <marcio.web2@gmail.com>
wrote:
> > Yup sure. We are going to vote yes (behind my nickname).
> > However, while I agree with all your arguments, we have more syntax and
> more semantics, it's kind of confusing.
> > But it's a small one,
> > so +1 for us.
>
> I bet there is no way to add such a feature without adding at least a small
> amount of syntax, and that's why I aimed for the minimal approach. Also,
> there is no better time to have it added other than on a major version
> release.
I think {} is better than [].
Using array operator for this seems a little strange to me.
I think this syntax is more like with block, not array.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net