Fixed link to magic methods (bug #43463)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247344 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2007-11-30 11:52:11 +00:00
parent 1a7af063ca
commit d01d931ebd

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>serialize</refname>
@ -42,10 +42,11 @@
</para>
<para>
When serializing objects, PHP will attempt to call the member function
<function>__sleep</function> prior to serialization. This is to allow the
object to do any last minute clean-up, etc. prior to being serialized.
Likewise, when the object is restored using <function>unserialize</function>
the <function>__wakeup</function> member function is called.
<link linkend="language.oop5.magic">__sleep</link> prior to serialization.
This is to allow the object to do any last minute clean-up, etc. prior
to being serialized. Likewise, when the object is restored using
<function>unserialize</function> the <link
linkend="language.oop5.magic">__wakeup</link> member function is called.
</para>
</listitem>
</varlistentry>