Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96468 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25608 invoked from network); 19 Oct 2016 09:06:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2016 09:06:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@daveyshafik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.213.172 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.213.172 mail-yb0-f172.google.com Received: from [209.85.213.172] ([209.85.213.172:35971] helo=mail-yb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/51-14749-99737085 for ; Wed, 19 Oct 2016 05:06:35 -0400 Received: by mail-yb0-f172.google.com with SMTP id 191so6667626ybv.3 for ; Wed, 19 Oct 2016 02:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daveyshafik-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=R82CMxanuyelESWa2b2cv3H83hxgsDB1kVcnNmJWCy8=; b=PfQMXkGFGUPb+XfWSWe6MBA7FFWMH2Tq5KfJh1tL4L05fW4kyybHpMe44PmV3XuN2A ubm7nN9J4WX3lnbBzCvw5Mre1SYdI6x5+GjQaC9ik1lVCJsk9h4lOlRjoUUDr1alEn1t Lvo69KmrUWIR6RUD0I1DiTlqk4g+B+G36RpgbyWUiVkNfBi2RU1GfFaLkwgiM8kA3oMy OS63mD+iiBG/TIDkDlQ9XlX1myIIDk/GO0msTlaDezis+LZyH9SuHXz85vaOfsY3jQ9A 9bsE5UHg0PVxgy/JEvegI8VW2GrgbaEFCjmkheNtX+oPxktFNAMz/Lp5eVszOWykRsTs WoVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=R82CMxanuyelESWa2b2cv3H83hxgsDB1kVcnNmJWCy8=; b=G+nryIAuZxJejeksYrwo/ORXkqrTp+eH5VnHXGItbDe8DUfU5ycZxkt3gsLSvQa6g1 jsKzyIYDUi7XSKwu5aLWRwamyNB1YO4HzYuAwM5qMcsX55hnnOZsxNbBPmRQcaOeq6OM y8mDM8vQb51N4ah9GIDYSjSrsZ9/TjRAmWOTQ8OTjX9xhL0xM2+cSuWOf56UVtJEUonK OjUcc72cp5Ypk28xfgFWLWtEzA59eRaAker12rCRP82jlsr7f4c0qPDIsdaHzuHNQfyi 1HB5hcBecuO+U/wfN5LSPLwdR7SjtiOrX9fN56vpsfbSNrtGTJyyPOIyoIjd97WEBz5/ 8PcQ== X-Gm-Message-State: AA6/9RlEIvwZjXZXt/l//AbbDOrc/Hh/J8cCEEOgqBJDB4zsDIlkQeQ/o89nasz5BEp7bX7ZGCdZkteZIFxzi4Iv X-Received: by 10.37.87.197 with SMTP id l188mr4718072ybb.184.1476867991050; Wed, 19 Oct 2016 02:06:31 -0700 (PDT) MIME-Version: 1.0 Sender: me@daveyshafik.com Received: by 10.129.179.8 with HTTP; Wed, 19 Oct 2016 02:06:30 -0700 (PDT) In-Reply-To: <1d22f996-27b6-35bb-03a6-df3acf9e33d4@gmail.com> References: <1d22f996-27b6-35bb-03a6-df3acf9e33d4@gmail.com> Date: Wed, 19 Oct 2016 02:06:30 -0700 X-Google-Sender-Auth: KfyHFC58_RZALsuC-kazXMui1Vw Message-ID: To: Stanislav Malyshev Cc: Yasuo Ohgaki , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113e7baefcce7d053f341f75 Subject: Re: [PHP-DEV] Re: Fixing insane session_start() behaviors From: davey@php.net (Davey Shafik) --001a113e7baefcce7d053f341f75 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Oct 18, 2016 at 11:08 PM, Stanislav Malyshev wrote: > Hi! > > > I pushed patch fixes number of nonsense/inconsistent session function > > behaviors. The additional patch is pushed so that it's easy to cherry > > pick minimum fixes. The last push is the additional fixes. > > These changes look like a reasonable cleanup. I'm not a big fan of > zend_parse_parameters_none additions, since I don't see any useful > function for them, but they don't hurt either. I left some notes on the > patch though, please look there. > > I'm not sure about 7.1 - while I don't see anything that would break any > reasonable code, except issues noted on the pull, the patch is pretty > big and I might have missed something. I guess it's for RM to decide. No > objection for 7.2. > > I notice that most test changes deal with scenarios that were covered > before, are there tests that test the new things - the scenarios for > which handling has changed? I couldn't find tests for some cases, like > INI modification, would be nice to add them. > > Also, a reminder that you'd have to update all the documentation in the > manual to reflect the change in the return values. And UPGRADING too. > I was planning to fix session_start() behaviors by PHP 7.1, but I > forgot to do this completely. Partial fix is merged currently. Yasuo, assuming "partial fix" doesn't mean "broken fix" but instead "it doesn't do everything I planned" then I do not want this in 7.1. As others have pointed out, it's not a small change and sessions are a fundamental part of PHP =E2=80=94 we are simply too far into the release cycle to inclu= de this. Please target 7.2/master. Thanks, - Davey --001a113e7baefcce7d053f341f75--