Conflicting information in PHP documentation
| From: | Steven George | Date: | Fri, 27 Jan 2017 05:25:42 +0000 |
| Subject: | Conflicting information in PHP documentation | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969386492@lists.php.net to get a copy of this message | ||
Hello,
There is conflicting information in the PHP documentation.
http://php.net/manual/en/session.customhandler.php
states:
"...you may extend internal PHP handlers by inheriting from SessionHandler"
However, http://php.net/manual/en/class.sessionhandler.php
states:
"Warning ... please implement the SessionHandlerInterface interface instead of extending from
SessionHandler."
I'm not sure whether SessionHandler should be extended or not.
Regards,
Steven