Re: [RFC] Restrict $GLOBALS usage
| From: | Christoph M. Becker | Date: | Fri, 04 Dec 2020 11:55:45 +0000 |
| Subject: | Re: [RFC] Restrict $GLOBALS usage | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112410@lists.php.net to get a copy of this message | ||
On 04.12.2020 at 11:52, Nikita Popov wrote:
> 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
In my opinion, especially the last reason (fixing and preventing bugs
related to missing IS_INDIRECT handling) makes this change particularly
desireable.
Regards,
Christoph