mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
dd98186309
commit
3d20186f2b
1 changed files with 2 additions and 3 deletions
|
@ -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>.
|
||||
|
|
Loading…
Reference in a new issue