Re: Re: [RFC Proposal] var keyword deprecation/removal
| From: | Yasuo Ohgaki | Date: | Thu, 18 Feb 2016 21:22:41 +0000 |
| Subject: | Re: Re: [RFC Proposal] var keyword deprecation/removal | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91288@lists.php.net to get a copy of this message | ||
Hi all,
On Fri, Feb 19, 2016 at 4:33 AM, Andrea Faulds <ajf@ajf.me> wrote:
>
> Colin O'Dell wrote:
>>
>> I'd like to propose an RFC to deprecate and eventually remove the "var"
>> keyword.
>
>
> I don't have a strong opinion on that, I guess I'm in favour. It seems like
> a fairly harmless deprecation.
>
> Though if we do get rid of the var syntax, I'd like it if we kept the
> reserved word, because it still might be useful in future for typed
> variables or different variable scoping.
Same opinion.
Keeping various syntax makes language more complex.
The same may apply to
https://bugs.php.net/bug.php?id=71614
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net