Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1866 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37694 invoked from network); 21 May 2003 19:46:16 -0000 Received: from unknown (HELO webp5.t3link.com) (198.4.228.20) by pb1.pair.com with SMTP; 21 May 2003 19:46:16 -0000 Received: from iridium (golem.t3link.com [198.4.224.50]) (authenticated (0 bits)) by webp5.t3link.com (8.11.6/8.11.6) with ESMTP id h4LJkAj04428 for ; Wed, 21 May 2003 15:46:10 -0400 Message-ID: <200305211946.h4LJkAj04428@webp5.t3link.com> To: Date: Wed, 21 May 2003 15:46:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook, Build 11.0.4920 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 thread-index: AcMf0aS5pv+Rgb4yTeK6Oj40AB3ZQw== Subject: severe serialize problem From: sputnik@reflexx.net ("Dmitriy Myshkin") 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.