Re: Conflicting information in PHP documentation
| From: | Kalle Sommer Nielsen | Date: | Fri, 27 Jan 2017 14:19:18 +0000 |
| Subject: | Re: Conflicting information in PHP documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969386493@lists.php.net to get a copy of this message | ||
Hi
Ccing our Session extension maintenaner for clarification.
On Jan 27, 2017 06:30, "Steven George" <steven@bx.com.au> wrote:
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