Hi Stas,
On Tue, Mar 18, 2014 at 4:44 PM, Stas Malyshev <[email protected]>wrote:
> > What is your opinion?
>
> My opinion it would be the best if we could support both and deprecate
> create_sid in 5.6, but if it's hard to do cleanly, then leave it alone.
>
I've included createSid() definition in
https://github.com/php/php-src/pull/628/
If create_sid() is defined, it's used. If both create_sid() and createSid()
is defined, createSid()
is used.
SessionHandler does not use new SessionUpdateTimestampHandlerInterface, so
user may
choose what they would do about create_sid() and createSid(). Current
session module's
object handling is some what legacy, so such thing can be done.
I think this is the best way. We can keep compatibility and have standard
confirming createSid()
name. Since it keeps compatibility with 5.5, we may leave 5.5 alone. If you
would like, I can
add similar change to 5.5.
Regards,
--
Yasuo Ohgaki
[email protected]