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