note 109242 added to class.sessionhandlerinterface
| From: | PHPaficionado | Date: | Fri, 29 Jun 2012 05:07:52 +0000 |
| Subject: | note 109242 added to class.sessionhandlerinterface | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188962@lists.php.net to get a copy of this message | ||
This interface like classes doesn't show up if you have a namespace defined.
If you're getting an error like:
Fatal error: Interface 'MyNamespace\SessionHandlerInterface' not found
under your namespace you can just write the line:
use SessionHandlerInterface;
and all will be fine.
You can now implement this interface as usual.
----
Server IP: 69.147.83.197
Probable Submitter: 208.126.143.35
----
Manual Page -- http://www.php.net/manual/en/class.sessionhandlerinterface.php
Edit -- https://master.php.net/note/edit/109242
Del: integrated -- https://master.php.net/note/delete/109242/integrated
Del: useless -- https://master.php.net/note/delete/109242/useless
Del: bad code -- https://master.php.net/note/delete/109242/bad+code
Del: spam -- https://master.php.net/note/delete/109242/spam
Del: non-english -- https://master.php.net/note/delete/109242/non-english
Del: in docs -- https://master.php.net/note/delete/109242/in+docs
Del: other reasons-- https://master.php.net/note/delete/109242
Reject -- https://master.php.net/note/reject/109242
Search -- https://master.php.net/manage/user-notes.php