Re: [PHP-DEV] [PHP] Serializing objects with protected members

2004-10-22 Thread Francisco M. Marzoa Alonso
Thanks a lot, it was very useful. Andrey Hristov wrote: [...] There is a hack to access private data of an object. [...] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PHP] Serializing objects with protected members

2004-10-22 Thread Andrey Hristov
Hi, Francisco M. Marzoa Alonso wrote: 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

[PHP-DEV] [PHP] Serializing objects with protected members

2004-10-22 Thread 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 a