mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
14 lines
253 B
PHP
14 lines
253 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
|