/hphp/test/zend/good/Zend/tests/bug64239_1.php
http://github.com/facebook/hiphop-php · PHP · 17 lines · 14 code · 3 blank · 0 comment · 0 complexity · 79520770d48b3916f2b4977b6bd1bef1 MD5 · raw file
- <?hh
- class A {
- use T2 { t2method as Bmethod; }
- }
- class B extends A {
- }
- trait T2 {
- public function t2method() {
- }
- }
- <<__EntryPoint>> function main(): void {
- print_r(get_class_methods("A"));
- print_r(get_class_methods("B"));
- }