RE: [PHP-DEV] [RFC Discussion] "var" Deprecation
| From: | Thomas Punt | Date: | Fri, 11 Mar 2016 16:28:48 +0000 |
| Subject: | RE: [PHP-DEV] [RFC Discussion] "var" Deprecation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91637@lists.php.net to get a copy of this message | ||
Hi!
> 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).
I'm still on the fence about this, but here's a patch for it:
https://github.com/php/php-src/compare/master...tpunt:deprecate-var
Thanks,
Tom