php-src/Zend/tests/access_modifiers_003.phpt
2020-02-03 22:52:20 +01:00

14 lines
218 B
PHP

--TEST--
using multiple access modifiers (classes)
--FILE--
<?php
final final class test {
function foo() {}
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Multiple final modifiers are not allowed in %s on line %d