vrana Mon Nov 8 10:01:37 2004 EDT
Modified files:
/phpdoc/en/reference/var/functions serialize.xml
Log:
Doesn't work with built-in objects (bug #30323)
__sleep() works since 4.0.7
http://cvs.php.net/diff.php/phpdoc/en/reference/var/functions/serialize.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/var/functions/serialize.xml
diff -u phpdoc/en/reference/var/functions/serialize.xml:1.9
phpdoc/en/reference/var/functions/serialize.xml:1.10
--- phpdoc/en/reference/var/functions/serialize.xml:1.9 Thu Jul 22 20:18:22 2004
+++ phpdoc/en/reference/var/functions/serialize.xml Mon Nov 8 10:01:34 2004
@@ -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>