php-src/Zend/tests/errmsg_010.phpt

14 lines
250 B
Plaintext
Raw Normal View History

2007-02-07 19:10:32 +08:00
--TEST--
2018-09-17 01:16:42 +08:00
errmsg: multiple access type modifiers are not allowed (methods)
2007-02-07 19:10:32 +08:00
--FILE--
<?php
class test {
private protected function foo() {}
}
echo "Done\n";
?>
2018-09-17 01:16:42 +08:00
--EXPECTF--
2007-02-07 19:10:32 +08:00
Fatal error: Multiple access type modifiers are not allowed in %s on line %d