Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73172 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29035 invoked from network); 15 Mar 2014 02:33:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2014 02:33:03 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.213.46 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.213.46 mail-yh0-f46.google.com Received: from [209.85.213.46] ([209.85.213.46:60699] helo=mail-yh0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/52-12876-FDBB3235 for ; Fri, 14 Mar 2014 21:33:03 -0500 Received: by mail-yh0-f46.google.com with SMTP id b6so3405279yha.19 for ; Fri, 14 Mar 2014 19:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=t/Xt0nixQTrJ/+LtLEioL5O1atek2ZRZurO8NPFkvJw=; b=OghRQAfP1VuI08oq5sSgM143L1TABQyDcJi23LN2vQbW5rag+RB3oR/ij/5vqi3CAN q5Pc7ubYLjYw7gUhhfNeuJD4n0sREvEEGT8Xa1KI4oD8wucOZpf2eQKT68BERGttIClK jQSwDZZ/MK5FyWVaLbjdYc1zEQNnUxui3uNe4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=t/Xt0nixQTrJ/+LtLEioL5O1atek2ZRZurO8NPFkvJw=; b=R5i1IhIv4imDgOsAAC0H+F9EK8JzcIEgt5QvZJ0WbPWuJ+mIkUdTMe2eZTKtXl2b0X 1KWdvfUBkxawhb6ICH8eZy2ZFu8ME36TFRosaEHgG6PN+Moc1e09oTMREX11QorxQqWI NjqSMD1xcYjErE8EFgpY5w6RCYJBMekgPENoJLUah2Z0IVTJgWU8lXlWwNwPm0JHEyi4 2rlAW/KRlD6+4TbktTV7USmMfwLymlYMLb7mRv5mTESEyM2J4OQKxPZWW10q/jYo8e6k 8w5STSE3K2jBc7203e8fHXUiMUg38ARgzFpvxazv8cOokiGnrm0RckJBRpiC5z9rfLP4 3kOw== X-Gm-Message-State: ALoCoQlebvgPKKhoDeQteo/AeWSbups1Od31KWfMRq+is6m0JQeC2JqCF4yQSwVWEMDJxdeMQn0w MIME-Version: 1.0 X-Received: by 10.236.7.47 with SMTP id 35mr15478902yho.23.1394850779989; Fri, 14 Mar 2014 19:32:59 -0700 (PDT) Received: by 10.170.188.139 with HTTP; Fri, 14 Mar 2014 19:32:59 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Mar 2014 04:32:59 +0200 Message-ID: To: Yasuo Ohgaki Cc: Patrick Schaaf , internals , Pierre Joye Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: Revert session_serializer_name(), session_gc() From: narf@devilix.net (Andrey Andreev) Hi, On Sat, Mar 15, 2014 at 2:20 AM, Yasuo Ohgaki wrote: > Hi all, > > On Fri, Mar 14, 2014 at 7:44 PM, Andrey Andreev wrote: >> >> It is not broken functionally, indeed. >> It's broken by design - if I write session_start(), options or not, I >> would never expect it to immediately close the session. It's highly >> misleading and this will lead to a lot of abuse. > > > I don't want to confuse users. > Better name would be appreciated. > > Perhaps, "close" may be better option name. > > session_start(['read_only'=3D>true]); > =E2=86=93 > session_start(['close']=3D>true); > > Any comments/better names? I'd rather suggest this to be a separate function and not an option for session_start(). I've got this coverered in a draft RFC that I will announce for discussion later today. Now back to the main topic: Please exclude session_serializer_name(), session_gc(), session_reset(), session_abort() and the "session write short-circuit" from the 5.6 branch. Cheers, Andrey.