php-src/Zend/tests/errmsg_010.phpt
2007-02-07 11:10:32 +00:00

14 lines
252 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