> On 18 בפבר׳ 2016, at 23:23, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > > Hi all, > >> On Fri, Feb 19, 2016 at 4:33 AM, Andrea Faulds <a...@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.
I think it's a drop in the bucket compare to new features we're adding plenty of on every version. These make the language a lot more complex than var being an alias to public (not even different syntax). To me, var falls squarely in the bucket of "no strong reason to remove". Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php