Re: [RFC Discussion] "var" Deprecation

From: Date: Thu, 10 Mar 2016 19:10:00 +0000
Subject: Re: [RFC Discussion] "var" Deprecation
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-91621@lists.php.net to get a copy of this message
Hi! > I have completed my initial draft of the RFC to deprecate "var" in favor of > "public": https://wiki.php.net/rfc/var_deprecation As I already stated here, I think this is needless change which only creates BC problems and does not add anything to the language. The RFC incorrectly claims "var" is "legacy functionality", in fact it is not - the functionality, namely public properties, are still very much in use, it's just different keyword to invoke it. I still see absolutely no value in claimed "clean up", which achieves no usable goal (minimizing number of constructs in the language has never been considered a worthy goal in PHP). -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#91621) next »