faqts : Computers : Programming : Languages : PHP : General Information : PHP5

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

Is it possible to serialize private properties? It don't seem to using __sleep()

Aug 15th, 2004 13:36
Philip Olson, Curt Zirzow, Christof,


PHP will serialize all members (public, protected, and private) by default.
There was a bug in PHP 5.0.(0|1) that's related to this, perhaps that
was your problem.
  http://bugs.php.net/bug.php?id=26737