note 14080 added to function.serialize.php

From: Date: Mon, 16 Jul 2001 17:10:17 +0000
Subject: note 14080 added to function.serialize.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15437@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); http://www.php.net/manual/en/function.serialize.php

« previous php.notes (#15437) next »