mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
6db3fb0def
commit
a1fa3669e6
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue