Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86913 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42762 invoked from network); 26 Jun 2015 11:58:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2015 11:58:28 -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.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-yk0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:34907] helo=mail-yk0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/0A-57329-26E3D855 for ; Fri, 26 Jun 2015 07:58:26 -0400 Received: by ykdy1 with SMTP id y1so56026892ykd.2 for ; Fri, 26 Jun 2015 04:58:23 -0700 (PDT) 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=gDzagrIpZANakpRMFFQhY0G1j+FSt6qZ/GTKQdTRaIc=; b=Vsmkwzrb1/n36EMF7WhGu7KGZF08DVaFhZgsOJUX0CjtRybq05XSxXMkv+9NcyZ+Rj Gr5GwcyLsJR91bdZCZE9LS8rM/pPoH5lGT7gc6HbCFS7mBa0pfBmpc2G3apPAcUWBJWy dfTqsQ3oWusnMCaY9Y6IZYlMCyeHZR7ah2RMx2/TSpoyanGj8IjfwO+SUwH5Wb0qVNRY QyH7PrL3bzhfs6p1aeuh/ChsZzHF2vQznAzmRKBriz+sTxN+clZsmK/EByydjzOW8fyt MEwItEcVq3XCde7Q4DmS9NqYB+PBHRXvYzU2Sw6TuSNmzASjVg4D5b/X4nDBhdZRYR33 ntMQ== X-Received: by 10.170.215.69 with SMTP id h66mr1428802ykf.74.1435319903140; Fri, 26 Jun 2015 04:58:23 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.129.48.135 with HTTP; Fri, 26 Jun 2015 04:57:43 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Jun 2015 20:57:43 +0900 X-Google-Sender-Auth: 7pQe0Zb2zL0LKniKuZ57OQWKULY Message-ID: To: Hannes Magnusson Cc: Kalle Sommer Nielsen , Internals , Anatoliy Belsky , Dmitry Stogov , Nikita Popov , Ferenc Kovacs , Xinchen Hui Content-Type: multipart/alternative; boundary=001a113bcfa0f7434605196a7419 Subject: Re: [PHP-DEV] Headsup: PHP7 feature freeze From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113bcfa0f7434605196a7419 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, On Fri, Jun 26, 2015 at 12:56 PM, Yasuo Ohgaki wrote: > Hi Hannes, > > On Fri, Jun 26, 2015 at 12:51 PM, Yasuo Ohgaki wrote= : > >> On Fri, Jun 26, 2015 at 10:48 AM, Hannes Magnusson < >> hannes.magnusson@gmail.com> wrote: >> >>> Why do you think its undocumented? >>> http://php.net/manual/en/sessionhandler.create-sid.php >>> >> >> Rename discussion was there. And I explicitly discussed "it's undocument= ed >> and it violates CODING_STANDARDS", but it was added recently (after the >> discussion I suppose). >> >> [yohgaki@dev session]$ svn log -r 334814 >> ------------------------------------------------------------------------ >> r334814 | aharvey | 2014-09-09 04:49:26 +0900 (2014=E5=B9=B409=E6=9C=880= 9=E6=97=A5 (=E7=81=AB)) | 2 lines >> >> Add documentation for SessionHandler::create_sid(). >> >> ------------------------------------------------------------------------ >> >> 334814 aharvey SessionHandler is a special >> class that can be used >> 334814 aharvey to expose the current internal PHP session save >> handler by inheritance. >> 334814 aharvey There are seven methods which wrap the seven >> internal session save handler >> 334814 aharvey callbacks (open, >> close, >> 334814 aharvey read, >> write, >> 334814 aharvey destroy, >> gc and >> 334814 aharvey create_sid). By default, >> this class will wrap >> 334814 aharvey whatever internal save handler is set as defined b= y >> the >> 334814 aharvey > linkend=3D"ini.session.save-handler">session.save_handler >> 334814 aharvey configuration directive which is usually >> files by >> 334814 aharvey default. Other internal session save handlers are >> provided by PHP >> 334814 aharvey extensions such as SQLite (as >> sqlite), Memcache (as >> 334814 aharvey memcache), and Memcached (a= s >> 334814 aharvey memcached). >> >> I think this should be reverted. >> > > Or it may stay there. > It's just a matter of having a copy of create_sid(). > I'll add documentation. > I forgot that session_create_id() is needed createSid() method to be more useful. The code for session_create_id() is in the source, but it isn't enabled. I wouldn't like to have different naming session_create_id() and createSid(). So I would like to have - session_create_id() function - createId() function because there is - session_id() since PHP4. I don't think session internal names do not have to be changed. i.e. Macros, etc. Any comments? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113bcfa0f7434605196a7419--