Document the fatal error related to function __set(, &) { ..

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245988 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2007-11-10 16:47:22 +00:00
parent 751e54cdb7
commit 9ed79ffe2a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.18 $ -->
<!-- $Revision: 1.19 $ -->
<sect1 xml:id="language.oop5.overloading" xmlns="http://docbook.org/ns/docbook">
<title>Overloading</title>
@ -49,6 +49,12 @@
value that the object should set the <varname>$name</varname>.
</para>
<note>
<para>
The <literal>__set()</literal> method cannot take arguments by reference.
</para>
</note>
<example>
<title>overloading with __get, __set, __isset and __unset example</title>
<programlisting role="php">