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

15 lines
229 B
PHP

--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