Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)
| From: | Kalle Sommer Nielsen | Date: | Fri, 28 Jul 2017 16:21:58 +0000 |
| Subject: | Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100088@lists.php.net to get a copy of this message | ||
2017-07-28 17:11 GMT+02:00 Sara Golemon <pollita@php.net>:
> I'm sure there will be many strong opinions on this, but let's move
> this to a new thread. :D
>
> 1. This would be an 8.0 change as it does represent a significant BC change.
> 2. We can discuss the possibility of INI options or other mitigation
> strategies for misbehaving code bases (and they do exist).
> 3. I'm definitely not decided on what I'd like from default session
> behavior. An error isn't out of the question, for sure.
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
--
regards,
Kalle Sommer Nielsen
kalle@php.net