Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86893 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67146 invoked from network); 26 Jun 2015 03:57:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2015 03:57:01 -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.213.42 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yh0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:33366] helo=mail-yh0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/51-57329-C8DCC855 for ; Thu, 25 Jun 2015 23:57:00 -0400 Received: by yhpn97 with SMTP id n97so38366662yhp.0 for ; Thu, 25 Jun 2015 20:56:57 -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=rAHfVCLBfz3fEij+surPojRQyYsWqJkupu2IPkd0nzo=; b=thrdnznrXuQUicx8x1+lj1F4CbhBkig+swN3paRTqBsCyti1Mm45CqdvXDvVu7eygh wu5Og/ZrzqyfODIh6XhGfp4DPifBgup+MOHZ9OQOYW9HCRu7l7Wtl4xgu8Ng3kTsP2Da DVliE3C2bsBkCsUYnJ5WTeAMNGcpMYo9ep78yJPVbxch28bqYzAXKwzJLmZQhGXHi2fh GEI1w3lTeAH9PaicVS/98dCK4rC/uLCy9CDkiI+KczDDTCcUweJl0sJdeXGQy7t0JJcC y/iBXgcEGT16ka26sh71FiFJ0EFMevoitPX9Z9IX0Js+s+/sBNe3/00NyMLCzbeBlsa5 mXIg== X-Received: by 10.170.185.200 with SMTP id b191mr58914891yke.85.1435291017856; Thu, 25 Jun 2015 20:56:57 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.129.48.129 with HTTP; Thu, 25 Jun 2015 20:56:18 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Jun 2015 12:56:18 +0900 X-Google-Sender-Auth: s0FTeHAOBcbU0Bpk8l7_plMVeuI 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=001a113937bc44ce36051963bb52 Subject: Re: [PHP-DEV] Headsup: PHP7 feature freeze From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113937bc44ce36051963bb52 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 undocumente= d > 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=8809= =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 by > 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 (as > 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. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113937bc44ce36051963bb52--