mirror of
https://github.com/php/php-src.git
synced 2024-12-24 17:30:48 +08:00
14 lines
252 B
PHP
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
|