cvs: phpdoc /en/reference/var/functions serialize.xml
| From: | Jakub Vrana | Date: | Fri, 07 Nov 2008 13:21:22 +0000 |
| Subject: | cvs: phpdoc /en/reference/var/functions serialize.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2446@lists.php.net to get a copy of this message | ||
vrana Fri Nov 7 13:21:22 2008 UTC
Modified files:
/phpdoc/en/reference/var/functions serialize.xml
Log:
Serializing objects with private and protected members (bug #44004)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/serialize.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/reference/var/functions/serialize.xml
diff -u phpdoc/en/reference/var/functions/serialize.xml:1.16
phpdoc/en/reference/var/functions/serialize.xml:1.17
--- phpdoc/en/reference/var/functions/serialize.xml:1.16 Fri Nov 7 13:18:31 2008
+++ phpdoc/en/reference/var/functions/serialize.xml Fri Nov 7 13:21:22 2008
@@ -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>