Basic flow analysis on if statements
[hiphop-php.git] / hphp / test / slow / constants / inherited_concrete_wins_multiple.php
blobb2fcb043c70699584e79bf6c6c8ac39a036ca7fa
1 <?hh
3 interface I1 {
4 abstract const type T = int;
6 interface I2 {
7 const type T = bool;
9 interface I3 {
10 abstract const type T = string;
13 class C implements I1, I2, I3 {}
15 <<__EntryPoint>>
16 function main(): void {
17 // expecting TypeStructureKind::OF_BOOL = 2
18 var_dump(type_structure(C::class, "T"));