Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90964 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5764 invoked from network); 27 Jan 2016 04:00:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2016 04:00:08 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.178 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.160.178 mail-yk0-f178.google.com Received: from [209.85.160.178] ([209.85.160.178:34669] helo=mail-yk0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/D1-28185-6C048A65 for ; Tue, 26 Jan 2016 23:00:07 -0500 Received: by mail-yk0-f178.google.com with SMTP id a85so226875036ykb.1 for ; Tue, 26 Jan 2016 20:00:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=P8l7RA59HfxASntJXBP7AH2FgwIMRCRKsdRL4CHZVQw=; b=wZQXbWInzOPsDsbI5L2vkItaVYeaSkfFtSXt27MHYBqB5aLpqT388Qk0Tn6gNu3s0I Ky5adO/f2PWIJp+wVYcmJ727QEfQb/+N75U/VnvGOyprmzj9yaMIGUd3m64GKMLDfjMo CCRCkBR1SOcmqmHSeYvuJBiG25QyRO3ltUMrph73oEu7d52JvkmqJaKfHhO3zW3zpGzJ 20upO46YcRPTphGKENI6yfYorEmLH/YLcnwRcSo5ds+LtzeQCiSdGTKOzn5aXWSYmtro mq0/PQaJLyCHsggKBl/Rq8QoBDtdBIfDn7LizhrszyJO/AjtQyD3+NLdHr6n9/uXKz+N MZfw== 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:content-type; bh=P8l7RA59HfxASntJXBP7AH2FgwIMRCRKsdRL4CHZVQw=; b=ag24wuf20UixaXnqC5dQa/dhBqD7hxuFqX52/6hVUMattAEDODrzuXJCmlh6mBJ9hF am53gntgHR92iYHAfeuSZnHcn0relHc/2PFCOQGhH0ze5UDIgLwcOuy1+1m72i47xhna S6ocGb2tzohGBO1X1qJwe1hpVLJ50eVsxh6/b8OLAXHr67ADyQLU/BJ0Zmjt408VGRAx RrZb4MEsb1ByTk0sh8xNINP7sH+AAuU1QTiR4+S2nbEptTKJEGcQCMrHUHOWEJyw4Ysa r+VcFbPahrNp3bDzMNV6FMih6Pp/WPIrVYhKowTgRmzsvX/4idZ0QaCJPmTWgO+/0glX L0pQ== X-Gm-Message-State: AG10YORotYXsQpNto/4lUM/1eQK/IwLMXDeavX4M9N1CPqSE0n5JBLM96HL4oSxvP3zNPvh2OfN/BVgDxahuRQ== X-Received: by 10.13.226.129 with SMTP id l123mr13541857ywe.0.1453867204211; Tue, 26 Jan 2016 20:00:04 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.129.88.139 with HTTP; Tue, 26 Jan 2016 19:59:24 -0800 (PST) In-Reply-To: References: <03a501d15439$fcbf9ca0$f63ed5e0$@php.net> <56A1054A.5080102@fedoraproject.org> <56A2069B.2050007@fedoraproject.org> <56A21D68.6030403@fedoraproject.org> <56A825A9.9020706@gmail.com> Date: Wed, 27 Jan 2016 12:59:24 +0900 X-Google-Sender-Auth: MNxq9shPYEjGVuRmbr4kxEPqrs8 Message-ID: To: Stanislav Malyshev Cc: Remi Collet , "internals@lists.php.net" , Yasuo Ohgaki Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP 7.0.3 RC1 is available for testing - **** BC break *** From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi all, On Wed, Jan 27, 2016 at 12:28 PM, Yasuo Ohgaki wrote: >> Note for this issue. >> The change does not breaks normal codes as PHP cannot set new session >> ID when header is already sent. The session is _not_ accessible >> anyway. Not writing orphaned session does not matter at all. >> >> If you understand exactly what is happening, it is understandable this >> is not a BC for production code, but only breaks test code that >> inspect session behaviors and it found out bogus write() is gone now. >> >> Anyway, to fix existing app/framework unit test failures, (it's not >> fixing anything but leave bogus write(), though) >> removing php_session_abort() from php_session_cache_limitter() should be enough. > > One additional note. > > Removing the php_session_abort() will result in session_start() return > TRUE even when the session is unusable. This may results in hard to > debug bug why session is lost in certain pages. > > Anyway, I don't have much opinion to restore old behavior including > restoring crashes by save handler abuse for PHP 5.6. I think PHP 7.0 > is better to keep the patch as is, but it may be fixed in PHP 7.1. Sorry for scattered message, but it would be the best resolution to ask those frameworks/apps developer to ignore/remove the test? Returning FALSE for invalid session_start() should worth for frameworks/apps developer rather than keeping bogus test passing. IMO. Any comments? -- Yasuo Ohgaki yohgaki@ohgaki.net