Am 04.12.2020 um 11:52 schrieb Nikita Popov:
https://wiki.php.net/rfc/restrict_globals_usage
Yes, please. The code you found in PHPUnit (both PHPUnit itself as well as
sebastian/global-state) that would be affected by this can probably be
removed (in a future version of PHPUnit that requires
> On Dec 4, 2020, at 04:52, Nikita Popov 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
if this gets rid of a significant amount of implementation complexity
or runtime overhead, i'm all for it, and don't think i've ever seen
code like $GLOBALS = []; before,
given that it's technically a BC break, would have been nice as a
8.0.0 thing, but i hope it's small enough for an 8.x instead
Hello Nikita,
> 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://wi
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/r