1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- using multiple access modifiers (final methods) --FILE-- <?php class test { final final function foo() { } } echo "Done\n"; ?> --EXPECTF-- Fatal error: Multiple final modifiers are not allowed in %s on line %d