Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100841 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22550 invoked from network); 9 Oct 2017 11:20:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Oct 2017 11:20:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.53 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.218.53 mail-oi0-f53.google.com Received: from [209.85.218.53] ([209.85.218.53:50878] helo=mail-oi0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/DF-16800-69B5BD95 for ; Mon, 09 Oct 2017 07:20:54 -0400 Received: by mail-oi0-f53.google.com with SMTP id q4so21556676oic.7 for ; Mon, 09 Oct 2017 04:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Hs0DrWns7wnKAnJCjOwKZ5N/ttFDkFZfwqqD+WQJI5Q=; b=vdr406hjbqtRPD95XdAJFe5tEBVSM0HR+fdIf4UeDS1cpQAvxJtRfDIa8ZVjiWqpeI mihfHiH6zyHVsiryMOdzJUThWFYiYwHAgwOoxoXUzMjTNntmMY53tx/LEHGQuRB+hpzr 8WEtMvv+rezcw31UU1cECh0dqBJ97TVb3Sn8oDwThVKFYmiG5V7Uu1yLHiqDsSM5esRI gINZXUjmJscv+xDkmNwYxKjmYjmBBIKi3HN8CoOaDe4h+W2ibtWHD1mgDe7CGWuB45bw V1GSQq+2LODu17DMbOO/yvrv2qVAg8pnmlI8hQNgzylDfTl+YTMLGxtEEb5j4IM7RNKN F8zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Hs0DrWns7wnKAnJCjOwKZ5N/ttFDkFZfwqqD+WQJI5Q=; b=UkItCftgmd35FecYteWC8FGgJhEM9nb5cNstR+44Dg14ZrxZ7h/1+h3U+C/3R+aDCx LissPiaZoVHwebBvK+c8ETAuLDA/WCt/GeMfsSh0aDdmyfH7AFDKyWzsn6pjXpBuoPN5 kGL/bvWKTbZyrAvLAtfQbjqbwEhsCn9Y1GzDPRJLMWF9QUb2c/p2fGg31kfJ+8BNkLfE hFc3At7gEgxCiQO/omidLVI4A9C11WZKeMB0hhFUCKx9v8i+7pyQUjkeg70/ltWm81Tw b4QYpw83Jj4ixl0vErUbQam6dvj3KiagDMIaMzkPagvHLvYiUdG44x05xEFSAgB8YNE7 X/DQ== X-Gm-Message-State: AMCzsaWMFMLKGB6PtpdbtWq+uybDkYaMgg3SwbHW2k/GSbc1CoOjuk74 5VHS+Wpn62BVvo0fDseEO0RSBM4vYRP5JjXRVq03Rg== X-Google-Smtp-Source: AOwi7QAqES8J0RnlOubi/WgE5acViZuajWZXOY5WgA+CrUOx3dK4KfSlPpm7rEM7uold0ttQHSBSgG7FkyMh4uP4FvU= X-Received: by 10.157.15.182 with SMTP id d51mr1743746otd.115.1507548051131; Mon, 09 Oct 2017 04:20:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.133.196 with HTTP; Mon, 9 Oct 2017 04:20:30 -0700 (PDT) Date: Mon, 9 Oct 2017 13:20:30 +0200 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary="001a113c6f2211d217055b1b6239" Subject: Session extension cannot be used in a loop/CLI since 7.2 From: nicolas.grekas@gmail.com (Nicolas Grekas) --001a113c6f2211d217055b1b6239 Content-Type: text/plain; charset="UTF-8" Hello, 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. That also means e.g. Symfony and all other frameworks will have to move away from the internal's Session module if they want to work also with these long living processing model. PHP is less "generic" now - with stronger bindings to its short lived req/resp. cycle. Is it something internal should care about? Should we reconsider this for 7.2? Regards, Nicolas --001a113c6f2211d217055b1b6239--