1--TEST-- 2Check for problems with case sensitivity in compositions 3--FILE-- 4<?php 5error_reporting(E_ALL); 6 7trait A { 8 public function M1() {} 9 public function M2() {} 10} 11 12trait B { 13 public function M1() {} 14 public function M2() {} 15} 16 17class MyClass { 18 use A; 19 use B; 20} 21?> 22--EXPECTF-- 23Fatal error: Trait method B::M1 has not been applied as MyClass::M1, because of collision with A::M1 in %s on line %d 24