--TEST-- Aliasing leading to conflict should result in error message --FILE-- sayHello(); $o->sayWorld(); ?> --EXPECTF-- Warning: Trait method sayWorld has not been applied, because there are collisions with other trait methods on MyClass in %s on line %d Warning: Trait method sayHello has not been applied, because there are collisions with other trait methods on MyClass in %s on line %d Fatal error: Call to undefined method MyClass::sayHello() in %s on line %d