Re: Session extension cannot be used in a loop/CLI since 7.2
| From: | Niklas Keller | Date: | Mon, 09 Oct 2017 15:47:14 +0000 |
| Subject: | Re: Session extension cannot be used in a loop/CLI since 7.2 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100843@lists.php.net to get a copy of this message | ||
>
> I'm having a hard time fixing Symfony's tests suite to 7.2 because of the
> added warnings+ini_set-rejections in the Session module.
>
> Testing the session on the CLI is not possible anymore without starting one
> PHP process per test case. Why not, you may say.
>
> BUT, this also means that the session module is now basically useless in a
> request-response loop.
> That means ReactPHP, PHP-PM, Amp & the likes are all going to have to
> rewrite a userland session module completely.
We already have a custom session module, because the internal session
module doesn't really work well for Aerys.
Regards, Niklas