Re: Changes to SuperGlobals for PHP 8

From: Date: Sun, 30 Jul 2017 19:14:34 +0000
Subject: Re: Changes to SuperGlobals for PHP 8
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-100127@lists.php.net to get a copy of this message
Hi! > This is true within the context of the current "shared nothing" > design of PHP. There has been talk - and indeed existing > implementations - of a more event-based system, where this state > would no longer be naturally global in any sense. But as I That's fine - but in that design, you should not be using environment that is true global. You should be using something else. As such, there's no reason to mess with superglobals. > radical new representation, rather than just playing around with the > current superglobals. And I have no problem with that. As I said, you can always build a layer of indirection that suits your particular design, and many frameworks do just that. But to enable this, the language layer - the bottom layer - should be flexible, and it is such right now. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#100127) next »