2011-11-27 12:53:48 +01:00
|
|
|
Invalid modifier combination
|
|
|
|
-----
|
|
|
|
<?php class A { public public $a; }
|
|
|
|
-----
|
|
|
|
Multiple access type modifiers are not allowed on line 1
|
|
|
|
-----
|
|
|
|
<?php class A { public protected $a; }
|
|
|
|
-----
|
|
|
|
Multiple access type modifiers are not allowed on line 1
|
|
|
|
-----
|
|
|
|
<?php class A { abstract abstract a(); }
|
|
|
|
-----
|
|
|
|
Multiple abstract modifiers are not allowed on line 1
|
|
|
|
-----
|
|
|
|
<?php class A { static static $a; }
|
|
|
|
-----
|
|
|
|
Multiple static modifiers are not allowed on line 1
|
|
|
|
-----
|
|
|
|
<?php class A { final final a() {} }
|
|
|
|
-----
|
|
|
|
Multiple final modifiers are not allowed on line 1
|
|
|
|
-----
|
|
|
|
<?php class A { abstract final a(); }
|
|
|
|
-----
|
2012-03-10 23:25:26 +01:00
|
|
|
Cannot use the final and abstract modifier at the same time on line 1
|
|
|
|
-----
|
|
|
|
<?php abstract final class A { }
|
|
|
|
-----
|
|
|
|
Unexpected token T_FINAL on line 1
|