1--TEST-- 2Overriding Conflicting Methods should not result in a notice/warning about collisions 3--FILE-- 4<?php 5error_reporting(E_ALL); 6 7trait THello1 { 8 public function hello() { 9 echo 'Hello'; 10 } 11} 12 13trait THello2 { 14 public function hello() { 15 echo 'Hello'; 16 } 17} 18 19class TraitsTest { 20 use THello1; 21 use THello2; 22 public function hello() { 23 echo 'Hello'; 24 } 25} 26 27$test = new TraitsTest(); 28$test->hello(); 29?> 30--EXPECTF-- 31Hello