note 84987 deleted from function.var-export by bjori

From: Date: Sat, 09 Aug 2008 17:21:59 +0000
Subject: note 84987 deleted from function.var-export by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-143331@lists.php.net to get a copy of this message
Note Submitter: php dot net at lessel dot us ---- sypek dot pawel at gmail dot com, "When serializing objects, PHP will attempt to call the member function __sleep prior to serialization. This is to allow the object to do any last minute clean-up, etc. prior to being serialized. Likewise, when the object is restored using unserialize() the __wakeup member function is called." This is likely why your benchmarks show slower times for the serialize and unserialize functions. -Mark

« previous php.notes (#143331) next »