Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14049 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61192 invoked by uid 1010); 12 Dec 2004 14:21:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60963 invoked from network); 12 Dec 2004 14:21:00 -0000 Received: from unknown (HELO jan.prima.de) (83.97.50.139) by pb1.pair.com with SMTP; 12 Dec 2004 14:21:00 -0000 Received: from BAUMBART (pD95F8971.dip.t-dialin.net [::ffff:217.95.137.113]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Sun, 12 Dec 2004 14:21:15 +0000 Date: Sun, 12 Dec 2004 15:20:58 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <6997900.20041212152058@marcus-boerger.de> To: Alan Knowles CC: internals@lists.php.net In-Reply-To: <41BC4A9E.7070502@akbkhome.com> References: <41BC4A9E.7070502@akbkhome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] __sleep and hidden variables From: helly@php.net (Marcus Boerger) Hello Alan, the current plan is to write two new handlers that store/read the object from a string and have the old handlers as a fallback if implemented. regards marcus Sunday, December 12, 2004, 2:41:50 PM, you wrote: > 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 -- Best regards, Marcus mailto:helly@php.net