blob: 000b33fae4a176252b8543a7aaa17d16a80b1dd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
ZE2 An interface method cannot be private
--FILE--
<?php
interface if_a {
abstract private function err();
}
?>
--EXPECTF--
Fatal error: Access type for interface method if_a::err() must be omitted in %s on line %d
|