rquadling Fri Jul 27 09:02:39 2007 UTC
Modified files:
/phpdoc/en/language/oop5 static.xml
Log:
Bug #42115. The position of the static keyword is NOT fixed with regard to
the visibility keyword.
Code: http://pastie.caboo.se/82738
Output: http://pastie.caboo.se/82739
Tested on PHP 5.0.0 and 5.2.4-dev
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/static.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/language/oop5/static.xml
diff -u phpdoc/en/language/oop5/static.xml:1.10
phpdoc/en/language/oop5/static.xml:1.11
--- phpdoc/en/language/oop5/static.xml:1.10 Wed Jun 20 22:24:13 2007
+++ phpdoc/en/language/oop5/static.xml Fri Jul 27 09:02:38 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<sect1 xml:id="language.oop5.static" xmlns="http://docbook.org/ns/docbook">
<title>Static Keyword</title>
@@ -11,8 +11,7 @@
</para>
<para>
- The static declaration must be after the visibility declaration. For
- compatibility with PHP 4, if no <link
+ For compatibility with PHP 4, if no <link
linkend="language.oop5.visibility">visibility</link>
declaration is used, then the member or method will be treated
as if it was declared as <literal>public</literal>.