Serializing objects with private and protected members (bug #44004)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268507 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2008-11-07 13:21:22 +00:00
parent 6db3fb0def
commit a1fa3669e6

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>serialize</refname>
@ -48,6 +48,13 @@
<function>unserialize</function> the <link
linkend="language.oop5.magic">__wakeup</link> member function is called.
</para>
<note>
<para>
Object's private members have the class name prepended to the member
name; protected members have a '*' prepended to the member name.
These prepended values have null bytes on either side.
</para>
</note>
</listitem>
</varlistentry>
</variablelist>