Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)
| From: | Stanislav Malyshev | Date: | Sat, 29 Jul 2017 20:17:41 +0000 |
| Subject: | Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100113@lists.php.net to get a copy of this message | ||
Hi!
> I for one thing it makes a lot of sense to make superglobals
> read-only, writing to them seems more like a hack anyway and should be
> avoided
I've seen scenarios where it is very useful. Sure, you can always build
another layer of indirection and solve it this way, but it's just making
people do more work for no reason. I don't see any problem that would solve.
--
Stas Malyshev
smalyshev@gmail.com