Hi all,
Object interface of session save handler has create_sid() method.
The name should createSid().
Renaming is BC, but createSid() could be added and make session
module to use createSid() when both exists. create_sid() may be
removed in future release.
Since many users would implement update() method and start defining
create_sid() method, it would be preferred to add createSid() in PHP 5.6
to prevent more mess.
I would like to
- Add E_DEPRECATED for create_sid()
- Add createSid()
- If both exists, use createSid()
- Remove create_sid() in future release. (PHP6?)
There is other option.
Since create_sid() method is undocumented, we may remove it, add
createSid() and add UPGRADING note for users using it currently.
http://jp2.php.net/manual/en/function.session-set-save-handler.php
Any comments?
--
Yasuo Ohgaki
[email protected]