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

14 lines
250 B
PHP

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