[PATCH]Bug 26737 : private/protected vars not serialized

php.internals

Andrey Hristov

22 years ago
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).