Re: [RFC] Restrict $GLOBALS usage
| From: | Paul M. Jones | Date: | Fri, 04 Dec 2020 13:58:55 +0000 |
| Subject: | Re: [RFC] Restrict $GLOBALS usage | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112415@lists.php.net to get a copy of this message | ||
> On Dec 4, 2020, at 04:52, Nikita Popov <nikita.ppv@gmail.com> wrote:
>
> Hi internals,
>
> I would like to propose the following RFC, which restricts certain rare
> usages of $GLOBALS. This change will improve performance, reduce internal
> implementation complexity, and fix a very large class of bugs relating to
> $GLOBALS handling in internal functions.
>
> https://wiki.php.net/rfc/restrict_globals_usage
>
Big +1
--
Paul M. Jones
pmjones@pmjones.io
http://paul-m-jones.com
Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp
Solving the N+1 Problem in PHP
https://leanpub.com/sn1php