note 12051 added to function.unserialize.php
| From: | php-general at lists dot php dot net | Date: | Tue, 20 Mar 2001 13:13:44 +0000 |
| Subject: | note 12051 added to function.unserialize.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12583@lists.php.net to get a copy of this message | ||
For some reason this doesn't seem to be documented.
If you are unserializing an object after it has been created php (4.0.4pl1) attempts to run a member
function called __wakeup()
Useful for restoring DB connections, etc.
http://www.php.net/manual/en/function.unserialize.php