note 14079 deleted from function.serialize.php by zak
| From: | zak@php.net | Date: | Mon, 16 Jul 2001 19:26:57 +0000 |
| Subject: | note 14079 deleted from function.serialize.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15444@lists.php.net to get a copy of this message | ||
BEWARE: if you are serializing a complex object with recursive references, serialize a reference to
the object. Otherwise you'll get strange and mysterious results.
Always this: $str = serialize(&$object);
not this: $str = serialize($object);