vrana Thu Dec 8 04:30:46 2005 EDT
Modified files:
/phpdoc/en/language types.xml
Log:
Objects are passed by reference automatically (bug #35595)
http://cvs.php.net/diff.php/phpdoc/en/language/types.xml?r1=1.156&r2=1.157&ty=u
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.156 phpdoc/en/language/types.xml:1.157
--- phpdoc/en/language/types.xml:1.156 Tue Dec 6 10:20:41 2005
+++ phpdoc/en/language/types.xml Thu Dec 8 04:30:43 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.156 $ -->
+<!-- $Revision: 1.157 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -2342,7 +2342,7 @@
// Type 3: Object method call
$obj = new MyClass();
-call_user_func(array(&$obj, 'myCallbackMethod'));
+call_user_func(array($obj, 'myCallbackMethod'));
?>
]]>
</programlisting>