also mention __clone and __autoload (user note)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190635 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2005-07-13 18:21:49 +00:00
parent 4dcecb4c49
commit f4618fa166

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<sect1 id="language.oop5.magic">
<title>Magic Methods</title>
<para>
@ -12,8 +12,10 @@
<literal>__set</literal>
(see <link linkend="language.oop5.overloading">Overloading</link>),
<literal>__sleep</literal>,
<literal>__wakeup</literal>, and
<literal>__toString</literal>
<literal>__wakeup</literal>,
<literal>__toString</literal>,
<link linkend="language.oop5.cloning">__clone</link> and
<link linkend="language.oop5.autoload">__autoload</link>
are magical in PHP classes. You
cannot have functions with these names in any of your
classes unless you want the magic functionality associated