cvs: phpdoc /en/language/oop5 constants.xml paamayim-nekudotayim.xml static.xml

From: Date: Thu, 17 Jan 2008 19:06:08 +0000
Subject: cvs: phpdoc /en/language/oop5 constants.xml paamayim-nekudotayim.xml static.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1041@lists.php.net to get a copy of this message
colder Thu Jan 17 19:06:08 2008 UTC Modified files: /phpdoc/en/language/oop5 constants.xml paamayim-nekudotayim.xml static.xml Log: Fix #43881 (Specify the version in the example) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/constants.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/language/oop5/constants.xml diff -u phpdoc/en/language/oop5/constants.xml:1.12 phpdoc/en/language/oop5/constants.xml:1.13 --- phpdoc/en/language/oop5/constants.xml:1.12 Thu Nov 1 21:36:53 2007 +++ phpdoc/en/language/oop5/constants.xml Thu Jan 17 19:06:08 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <sect1 xml:id="language.oop5.constants" xmlns="http://docbook.org/ns/docbook"> <title>Class Constants</title> <para> @@ -35,7 +35,7 @@ echo MyClass::constant . "\n"; $classname = "MyClass"; -echo $classname::constant . "\n"; +echo $classname::constant . "\n"; // As of PHP 5.3.0 $class = new MyClass(); $class->showConstant(); http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/paamayim-nekudotayim.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/language/oop5/paamayim-nekudotayim.xml diff -u phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.12 phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.13 --- phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.12 Thu Nov 1 21:36:53 2007 +++ phpdoc/en/language/oop5/paamayim-nekudotayim.xml Thu Jan 17 19:06:08 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <sect1 xml:id="language.oop5.paamayim-nekudotayim" xmlns="http://docbook.org/ns/docbook"> <title>Scope Resolution Operator (::)</title> @@ -39,7 +39,7 @@ } $classname = 'MyClass'; -echo $classname::CONST_VALUE; +echo $classname::CONST_VALUE; // As of PHP 5.3.0 echo MyClass::CONST_VALUE; ?> @@ -68,7 +68,7 @@ } $classname = 'OtherClass'; -echo $classname::doubleColon(); +echo $classname::doubleColon(); // As of PHP 5.3.0 OtherClass::doubleColon(); ?> http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/static.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/language/oop5/static.xml diff -u phpdoc/en/language/oop5/static.xml:1.15 phpdoc/en/language/oop5/static.xml:1.16 --- phpdoc/en/language/oop5/static.xml:1.15 Thu Nov 1 21:36:53 2007 +++ phpdoc/en/language/oop5/static.xml Thu Jan 17 19:06:08 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <sect1 xml:id="language.oop5.static" xmlns="http://docbook.org/ns/docbook"> <title>Static Keyword</title> @@ -68,7 +68,7 @@ print $foo::$my_static . "\n"; $classname = 'Foo'; -print $classname::$my_static . "\n"; +print $classname::$my_static . "\n"; // As of PHP 5.3.0 print Bar::$my_static . "\n"; $bar = new Bar(); @@ -91,7 +91,7 @@ Foo::aStaticMethod(); $classname = 'Foo'; -$classname::aStaticMethod(); +$classname::aStaticMethod(); // As of PHP 5.3.0 ?> ]]> </programlisting>

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