colder Wed Jan 10 15:01:42 2007 UTC
Modified files:
/phpdoc/en/language types.xml
Log:
Complete the callback example with a note concerning php4 users
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types.xml?r1=1.172&r2=1.173&diff_format=u
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.172 phpdoc/en/language/types.xml:1.173
--- phpdoc/en/language/types.xml:1.172 Fri Dec 29 00:45:05 2006
+++ phpdoc/en/language/types.xml Wed Jan 10 15:01:42 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.172 $ -->
+<!-- $Revision: 1.173 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -2403,7 +2403,14 @@
</programlisting>
</example>
</para>
-
+ <note>
+ <simpara>
+ In PHP4, you will have to use a reference to create a callback that
+ points to the actual object, and not a copy of it. For more details,
+ see <link linkend="language.references">References Explained</link>.
+ </simpara>
+ </note>
+
</sect2>
<sect2 id="language.types.void">