/hphp/test/zend/bad/ext/reflection/tests/ReflectionClass_getInterfaces_002.php
http://github.com/facebook/hiphop-php · PHP · 13 lines · 12 code · 1 blank · 0 comment · 0 complexity · 8d7f9ab500b1cefea71423a8ec7d37db MD5 · raw file
- <?php
- interface I1 {}
- interface I2 {}
- interface I3 {}
- interface I4 extends I3 {}
- interface I5 extends I4 {}
- interface I6 extends I5, I1, I2 {}
- interface I7 extends I6 {}
- $rc = new ReflectionClass('I7');
- $interfaces = $rc->getInterfaces();
- print_r($interfaces);
- ?>