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

15 lines
264 B
PHP

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