mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Doesn't work with built-in objects (bug #30323)
__sleep() works since 4.0.7 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172271 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
31e02322db
commit
34ebe16c9f
1 changed files with 5 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- splitted from ./en/functions/var.xml, last change in rev 1.28 -->
|
||||
<refentry id="function.serialize">
|
||||
<refnamediv>
|
||||
|
@ -38,18 +38,11 @@
|
|||
Likewise, when the object is restored using <function>unserialize</function>
|
||||
the <function>__wakeup</function> member function is called.
|
||||
</simpara>
|
||||
<!-- TODO
|
||||
in 4.0.4pl1 this didn't work properly, however, there
|
||||
been some fixes. I don't know whether this all
|
||||
works correctly now, and if so, whether it is since 405
|
||||
or 406
|
||||
<note>
|
||||
<simpara>
|
||||
This didn't work correctly until 4.0.?
|
||||
This didn't work correctly until 4.0.7.
|
||||
</simpara>
|
||||
</note>
|
||||
</simpara>
|
||||
-->
|
||||
<note>
|
||||
<para>
|
||||
In PHP 3, object properties will be serialized, but methods are
|
||||
|
@ -59,6 +52,9 @@
|
|||
section of <link linkend="language.oop">Classes and
|
||||
Objects</link> for more information.
|
||||
</para>
|
||||
<para>
|
||||
It is not possible to serialize PHP built-in objects.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue