From 3d20186f2b675c9060a772fbed45ffdc92f7f83c Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Fri, 27 Jul 2007 09:02:38 +0000 Subject: [PATCH] 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 --- language/oop5/static.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/language/oop5/static.xml b/language/oop5/static.xml index cbafe2400e..62f3c68d55 100644 --- a/language/oop5/static.xml +++ b/language/oop5/static.xml @@ -1,5 +1,5 @@ - + Static Keyword @@ -11,8 +11,7 @@ - The static declaration must be after the visibility declaration. For - compatibility with PHP 4, if no visibility declaration is used, then the member or method will be treated as if it was declared as public.