Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76996 invoked from network); 17 Mar 2014 21:56:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2014 21:56:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:61384] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/E2-17561-E7F67235 for ; Mon, 17 Mar 2014 16:56:15 -0500 Received: by mail-la0-f50.google.com with SMTP id y1so4137649lam.37 for ; Mon, 17 Mar 2014 14:56:11 -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=e7Y6fes9mDkPrpTIovil/HdmAxfr+kw0w/xEwq7UgLI=; b=INab9s/hj7KAmSbE+unMoQ+lHjNSyhVU+57qYkSwfghGx9vFc6pem+Nq41Dzc8yAsw 6TghLL3P3lfwZVyeo0ARAxO5qHmZyGfxjrRpJEaMxRao7i/03zHeNJxjX4WLRHS8HAfb u0zxhxeDlh03u0u7Zb7IDs035PGDzC+SdvCfiVE3PsgGvy1I7vER658PFVhvnqHVU8Qw xuhKwcAt4Z5HibnzRYWYJGytURA6blUk9gQlUgsz6e0ZbkUW/IYvRGKt0xd7Xm9ZzANR /91d9m/cLudP6PyZruF94SWkr94X24H3ohdc1MRZU0sswSd1v70c8kq0FflYtv1QKmO2 JfpA== X-Received: by 10.112.97.178 with SMTP id eb18mr17432169lbb.13.1395093371827; Mon, 17 Mar 2014 14:56:11 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.205.73 with HTTP; Mon, 17 Mar 2014 14:55:31 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Mar 2014 06:55:31 +0900 X-Google-Sender-Auth: zVPF2pLaZO65lZyE0dRWH4Zq5yM Message-ID: To: Andrey Andreev , Leigh , Stas Malyshev Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1133e308db3cdc04f4d47c4b Subject: Re: [PHP-DEV] Re: Session: deprecating create_sid() method and add createSid()? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1133e308db3cdc04f4d47c4b Content-Type: text/plain; charset=UTF-8 Hi Stas, On Tue, Mar 18, 2014 at 6:44 AM, Andrey Andreev wrote: > On Mon, Mar 17, 2014 at 11:35 PM, Yasuo Ohgaki wrote: > > Hi all, > > > > Since create_sid() method is added in 5.5.1 and it's not documented yet. > > I would like to propose renaming it to createSid() for both 5.5 and 5.6. > > > > Any comments? > > I also thought about this, but I'm kind of split ... some users > (besides Leigh here) might've found it and be currently using it > regardless. And now that I know create_sid() exists, I'll surely use > it too in pre-5.6 apps. I guess it won't hurt to still look for it if > createSid() (or maybe even createId(), it's in the context of sessions > after all) doesn't exist. What do you think about this? It could be made both create_sid() and createSid() available in 5.5 and remove create_sid() in 5.6. Simple renaming is cleaner and may be acceptable, since it's undocumented and relatively new feature. I'm not sure if it is good to have more complex code for undocumented feature. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1133e308db3cdc04f4d47c4b--