note 12051 deleted from function.unserialize by john
| From: | john@php.net | Date: | Wed, 20 Nov 2002 02:45:52 +0000 |
| Subject: | note 12051 deleted from function.unserialize by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-39722@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.