1--TEST--
2Interface constants can be overridden indirectly
3--FILE--
4<?php
5
6interface I
7{
8    const X = 1;
9}
10
11class C implements I {}
12
13class D extends C
14{
15    const X = 2;
16}
17
18?>
19--EXPECT--
20