--TEST-- Bug #61998 (Using traits with method aliases appears to result in crash during execution) --FILE-- newFunc(); //from T1 $f->func(); //from Foo $b = new Bar(); $b->newFunc(); //from T1 $b->func(); //from Bar $b->func2(); //from Bar $b->newFunc2(); //from T2 $b->newFunc3(); //from T2 $b->func3(); //from Bar ?> --EXPECT-- From T1 From Foo From T1 From Bar From Bar From T2 From T2 From Bar