php-src/Zend/tests/access_modifiers_005.phpt

15 lines
224 B
Plaintext
Raw Normal View History

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