severe serialize problem

From: Date: Wed, 21 May 2003 19:46:17 +0000
Subject: severe serialize problem
Groups: php.internals 
Request: Send a blank email to internals+get-1866@lists.php.net to get a copy of this message
an object that is in a namespaced class that is serialized and then deserialized becomes a "__PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name]". It seems serialize/deserialize don't understand namespaces. Namespace app { class berries { public $name; public $quantity; function __construct($name=NULL) { $this->name = $name; } } $object = new app::berries("aberry"); $objecttext = serialize($object); $objectnew = unserialize($objecttext); print_r($objectnew); Best Regards, Dmitriy Myshkin Software Architect T3Link, Inc.

« previous php.internals (#1866) next »