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