Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13457 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72423 invoked by uid 1010); 22 Oct 2004 13:05:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72387 invoked from network); 22 Oct 2004 13:05:56 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by pb1.pair.com with SMTP; 22 Oct 2004 13:05:56 -0000 Received: (qmail 21853 invoked by uid 65534); 22 Oct 2004 13:05:54 -0000 Received: from 55.Red-213-4-20.pooles.rima-tde.net (EHLO [10.10.0.21]) (213.4.20.55) by mail.gmx.net (mp023) with SMTP; 22 Oct 2004 15:05:54 +0200 X-Authenticated: #12441595 Message-ID: <417905D9.4010205@gmx.net> Date: Fri, 22 Oct 2004 15:06:33 +0200 User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) 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 Subject: [PHP] Serializing objects with protected members From: fmmarzoa@gmx.net ("Francisco M. Marzoa Alonso") Hi, I'm trying to wrote my own serialization routines and I've found a previsible problem: protected members are not visible to my serialization routine. This is ok and it should be as is, but I've seen that PHP's serialize function have access to that members anyway, so the question is: Is there any kind of hack that I can use to access those variables from my own serialization routine? Thx. a lot in advance, P.S. I've sent this message before to php general list, but I think its a more "internal" issue.