How is serialization of references handled? Example:

class foo
{
   var $abc;
   function bar()
   {
      echo $this->abc;
   }
}

$obj = array( &new foo(), &new foo() );
$baz = serialize($obj);

/* ... dancing monkey for entertainment while time passes ... */

$obj = unserialize($baz);


Will references be restored upon unserialization?

-js


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to