Re: [RFC Discussion] "var" Deprecation

From: Date: Fri, 11 Mar 2016 10:03:12 +0000
Subject: Re: [RFC Discussion] "var" Deprecation
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-91630@lists.php.net to get a copy of this message
From the RFC: > var is therefore a limited subset of public. No, this is wrong. var was here much much longer than public, therefore var is not a subset of public, but rather public is _an extension_ of var. The keyword var is also unique for it's semantics in the later versions of the language viz. previous discussion: - var represents not any certain visibility, it states that the visibility of property is yet unspecified - var can semantically also represent an internal dependency, as I have described earlier On 10 March 2016 at 22:44, Colin O'Dell <colinodell@gmail.com> wrote: > Hello all, > > I have completed my initial draft of the RFC to deprecate "var" in favor of > "public": https://wiki.php.net/rfc/var_deprecation > > I would greatly appreciate any feedback on this RFC, especially with the > following: > > - Ensuring that all major arguments for & against have been documented. > - Any impact this may have on SAPIs, extensions, or the opcache. > - Any assistance or guidance on creating the patch (I've never written C or > worked with the core codebase before). > > If you'd like to read the pre-draft discussion it can be found here: > https://wiki.php.net/rfc/mailing_list_discussion > > Regards, > > Colin O'Dell > -- Cheers, Kubis

« previous php.internals (#91630) next »