cvs: phpdoc /en/language/oop5 overloading.xml

From: Date: Sat, 07 Jun 2008 19:41:23 +0000
Subject: cvs: phpdoc /en/language/oop5 overloading.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1766@lists.php.net to get a copy of this message
danielc Sat Jun 7 19:41:23 2008 UTC Modified files: /phpdoc/en/language/oop5 overloading.xml Log: * $name in __callStatic() now case sensitive. Fixed by bug 45089. http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/overloading.xml?r1=1.29&r2=1.30&diff_format=u Index: phpdoc/en/language/oop5/overloading.xml diff -u phpdoc/en/language/oop5/overloading.xml:1.29 phpdoc/en/language/oop5/overloading.xml:1.30 --- phpdoc/en/language/oop5/overloading.xml:1.29 Wed Apr 9 19:18:17 2008 +++ phpdoc/en/language/oop5/overloading.xml Sat Jun 7 19:41:23 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.29 $ --> +<!-- $Revision: 1.30 $ --> <sect1 xml:id="language.oop5.overloading" xmlns="http://docbook.org/ns/docbook"> <title>Overloading</title> @@ -277,7 +277,7 @@ /** As of PHP 5.3.0 */ public static function __callStatic($name, $arguments) { - // Note: value of $name is converted to lower case. + // Note: value of $name is case sensitive. echo "Calling static method '$name' " . implode(', ', $arguments). "\n"; } @@ -294,7 +294,7 @@ <screen role="php"> <![CDATA[ Calling object method 'runTest' in object context -Calling static method 'runtest' in static context +Calling static method 'runTest' in static context ]]> </screen> </example>

« previous php.doc.cvs (#1766) next »