cvs: phpdoc /en/language types.xml

From: Date: Thu, 08 Dec 2005 09:30:46 +0000
Subject: cvs: phpdoc /en/language types.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969371202@lists.php.net to get a copy of this message
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>

« previous php.doc (#969371202) next »