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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@240386 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2007-07-27 09:02:38 +00:00
parent dd98186309
commit 3d20186f2b

View file

@ -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>.