Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45660 invoked by uid 1010); 12 Dec 2004 13:41:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42924 invoked from network); 12 Dec 2004 13:40:54 -0000 Received: from unknown (HELO newweb.akbkhome.com) (202.81.246.113) by pb1.pair.com with SMTP; 12 Dec 2004 13:40:54 -0000 Received: from [192.168.0.184] (helo=[192.168.0.184]) by newweb.akbkhome.com with esmtp (Exim 4.33) id 1CdUBb-0005CQ-2C for internals@lists.php.net; Sun, 12 Dec 2004 21:54:55 +0800 Message-ID: <41BC4A9E.7070502@akbkhome.com> Date: Sun, 12 Dec 2004 21:41:50 +0800 User-Agent: Mozilla Thunderbird 0.8+ (X11/20041030) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: "cleared badlog" Subject: __sleep and hidden variables From: alan@akbkhome.com (Alan Knowles) I'm trying to serialize DBDO objects, which contain alot of hidden information at present, within the bound object. looking at the serialization code, it appears to only access the zval.value.obj.properties directly, rather than calling the property_read handler on the object. - are there any plans to change this..??? I guess my other option is to create private variables on the __sleep call, although this adds another layer of complexity to the hidden variable memory managment. Regards Alan