[PATCH]Bug 26737 : private/protected vars not serialized
| From: | Andrey Hristov | Date: | Sun, 15 Aug 2004 02:33:45 +0000 |
| Subject: | [PATCH]Bug 26737 : private/protected vars not serialized | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-12171@lists.php.net to get a copy of this message | ||
Hi,
I have written a patch which I think fixes bug 26737 : private/protected member
variables are not serialized (the names are returned from __sleep())
The URL of the patch is :
http://hristov.com/andrey/projects/php_stuff/patches/bug26737.patch.txt
Comments are welcomed?
Thanks,
andrey
P.S.
There is a test for the bug : tests/classes/bug26737.phpt but the test is wrong IMO
(the serialized value used for comparing).