php-src/Zend/tests/access_modifiers_004.phpt

15 lines
241 B
Plaintext
Raw Normal View History

--TEST--
using multiple access modifiers (abstract methods)
--FILE--
<?php
class test {
2020-02-04 05:52:20 +08:00
abstract abstract function foo() {
}
}
echo "Done\n";
?>
2018-09-17 01:16:42 +08:00
--EXPECTF--
Fatal error: Multiple abstract modifiers are not allowed in %s on line %d