xref: /PHP-8.0/Zend/tests/errmsg_010.phpt (revision f8d79582)
1--TEST--
2errmsg: multiple access type modifiers are not allowed (methods)
3--FILE--
4<?php
5
6class test {
7    private protected function foo() {}
8}
9
10echo "Done\n";
11?>
12--EXPECTF--
13Fatal error: Multiple access type modifiers are not allowed in %s on line %d
14