1--TEST--
2Interface constants cannot be inherited from other interfaces
3--FILE--
4<?php
5
6interface I1
7{
8    const C = 1;
9}
10
11interface I2
12{
13    const C = 2;
14}
15
16interface I3 extends I1, I2
17{
18}
19
20?>
21--EXPECTF--
22Fatal error: Interface I3 inherits both I1::C and I2::C, which is ambiguous in %s on line %d
23