Serializing objects with protected members

From: Date: Fri, 22 Oct 2004 13:06:33 +0000
Subject: Serializing objects with protected members
Groups: php.internals 
Request: Send a blank email to internals+get-13457@lists.php.net to get a copy of this message
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.

« previous php.internals (#13457) next »