php-src/Zend/tests/access_modifiers_001.phpt
2018-10-14 12:07:20 -03:00

15 lines
258 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