Re: Session: deprecating create_sid() method and add createSid()?
| From: | Yasuo Ohgaki | Date: | Mon, 17 Mar 2014 11:01:28 +0000 |
| Subject: | Re: Session: deprecating create_sid() method and add createSid()? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73214@lists.php.net to get a copy of this message | ||
On Mon, Mar 17, 2014 at 7:51 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> On Mon, Mar 17, 2014 at 7:23 PM, Andrey Andreev <narf@devilix.net> wrote:
>
>> There's no SessionHandler::create_sid() or
>> SessionHandlerInterface::create_sid() documented (see your own link to
>> the docs) ... since when is this available?
>>
>> I'm not sure if exposing it is a good idea anyway, why is it necessary?
>>
>
> This change is not mine. It was added about 10 years ago, IIRC.
More details.
At that time, there wasn't object interface and object interface was added
few years later. Since there is procedural API for creating ID, create_sid()
method is added.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net