Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47732 invoked from network); 19 Mar 2014 01:55:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2014 01:55:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.213.50 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.213.50 mail-yh0-f50.google.com Received: from [209.85.213.50] ([209.85.213.50:56365] helo=mail-yh0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/6E-16983-409F8235 for ; Tue, 18 Mar 2014 20:55:16 -0500 Received: by mail-yh0-f50.google.com with SMTP id c41so7877942yho.23 for ; Tue, 18 Mar 2014 18:55:13 -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; bh=U/1hRx4kD9DNxWhVzVkMSE0CXHNhlvUiwU/oeCmWmW8=; b=DRdEBGuw7WVy1HCjhqH3OhjWIGxqcn0kS/Dp2ETYYUfND3arpAuXtOCyJzhOkTcQ9L IvA9Am/IAd+sWUUBWf/7YUu+j2anYQRCph4PVnuCa9CzZKm49RujrKtn0Gamdwtn3KBY TlCzEzr/sYOCtsvMTx2BR91YvLwFREg8vhBKM= 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; bh=U/1hRx4kD9DNxWhVzVkMSE0CXHNhlvUiwU/oeCmWmW8=; b=MpIi4Jp6S9dr++YEpNPAHz1b8aWyVPORgR6raU32OzNhwIp/JeZz1nzS4i7DhSfA5d nHSFQ9F8pIDZz6GFPpW7AxR+UgDRyiw1gJOR0G3gVyYk91DiFJ6Qg/E/TSO/0rpAoNCc 4GgtohtsakgEAeYDB608ZqWVQTMx+Ber23NLuIGt7QzwbQbHKyryllKkTuHrFL+8kysq 3GcUmk/cJC0pHHQ3plZv/XI7TYBfJy5wamSZ2kNLepJrvwNYATheyI7TruUe9RW3ayu2 54vjj0SrJ35hJZbyieNKUGm05OjPz3ZiXl63W9bmZKlQKaY6w4q561VvIQKcYB8BR5CD CU9g== X-Gm-Message-State: ALoCoQmvNteew9Qsm6MIMzi6/vDyIHeJ6XOO3WgJlrL8KUOglM10wPS4rWMD6WNws7uI72m94poP MIME-Version: 1.0 X-Received: by 10.236.44.173 with SMTP id n33mr6892898yhb.98.1395194113009; Tue, 18 Mar 2014 18:55:13 -0700 (PDT) Received: by 10.170.188.139 with HTTP; Tue, 18 Mar 2014 18:55:12 -0700 (PDT) In-Reply-To: References: <53277BE2.8020203@sugarcrm.com> <5327F947.5020308@sugarcrm.com> Date: Wed, 19 Mar 2014 03:55:12 +0200 Message-ID: To: Yasuo Ohgaki Cc: Stas Malyshev , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Session: deprecating create_sid() method and add createSid()? From: narf@devilix.net (Andrey Andreev) Hi, On Wed, Mar 19, 2014 at 3:49 AM, Yasuo Ohgaki wrote: > Hi Andrey, > > On Wed, Mar 19, 2014 at 10:26 AM, Andrey Andreev wrote: >> >> On Wed, Mar 19, 2014 at 3:22 AM, Yasuo Ohgaki wrote: >> >> > SessionHandler does not use new >> >> > SessionUpdateTimestampHandlerInterface, >> >> > so >> >> >> >> Um ... what's the point of having this interface? Nothing uses it. >> > >> > >> > You may use it like >> > >> > class MySessionHandler implements SessionHandlerInterface, >> > SessionUpdateTimestampHandlerInterface >> > >> > I think the name is too long. >> > Any suggestion? >> >> It is too long, and also useless. :) >> You may, or you may not call it. If it's not enforced anywhere, nobody >> needs it and nobody is going to use it. I suggest removing it, it's >> pointless. > > > It's intended for user use. > This is the normal use of interface. Eh ... I know how an interface is used, but an interface is supposed to enforce a certain set of methods to be implemented. If you're not enforcing usage of the interface itself (which we can't do, because of BC), it becomes optional and therefore enfoces nothing. Cheers, Andrey.