1--TEST-- 2Bug #60217 (Requiring the same method from different traits.) 3--FILE-- 4<?php 5 6trait T1 { 7 public abstract function foo(); 8} 9 10trait T2 { 11 public abstract function foo(); 12} 13 14class C { 15 use T1, T2; 16 17 public function foo() { 18 echo "C::foo() works.\n"; 19 } 20} 21 22$o = new C; 23$o->foo(); 24 25--EXPECTF-- 26C::foo() works. 27