1 Invalid modifier combination
3 <?php class A { public public $a; }
5 Multiple access type modifiers are not allowed from 1:24 to 1:29
15 flags: MODIFIER_PUBLIC (1)
17 0: Stmt_PropertyProperty(
27 <?php class A { public protected $a; }
29 Multiple access type modifiers are not allowed from 1:24 to 1:32
39 flags: MODIFIER_PUBLIC | MODIFIER_PROTECTED (3)
41 0: Stmt_PropertyProperty(
51 <?php class A { abstract abstract function a(); }
53 Multiple abstract modifiers are not allowed from 1:26 to 1:33
63 flags: MODIFIER_ABSTRACT (16)
75 <?php class A { static static $a; }
77 Multiple static modifiers are not allowed from 1:24 to 1:29
87 flags: MODIFIER_STATIC (8)
89 0: Stmt_PropertyProperty(
99 <?php class A { final final function a() {} }
101 Multiple final modifiers are not allowed from 1:23 to 1:27
111 flags: MODIFIER_FINAL (32)
124 <?php class A { abstract final function a(); }
126 Cannot use the final modifier on an abstract class member from 1:26 to 1:30
136 flags: MODIFIER_ABSTRACT | MODIFIER_FINAL (48)
148 <?php abstract final class A { }
149 // Type in the partial parse could conceivably be any of 0, 16 or 32
151 Syntax error, unexpected T_FINAL, expecting T_CLASS from 1:16 to 1:20
154 flags: MODIFIER_FINAL (32)
164 0: // Type in the partial parse could conceivably be any of 0, 16 or 32
169 <?php class A { abstract $a; }
171 Properties cannot be declared abstract from 1:17 to 1:24
181 flags: MODIFIER_ABSTRACT (16)
183 0: Stmt_PropertyProperty(
193 <?php class A { final $a; }
195 Properties cannot be declared final from 1:17 to 1:21
205 flags: MODIFIER_FINAL (32)
207 0: Stmt_PropertyProperty(