1--TEST-- 2"Potentially" conflicting trait properties do not result in a strict standards notice anymore 3--FILE-- 4<?php 5error_reporting(E_ALL); 6 7trait THello1 { 8 private $foo; 9} 10 11trait THello2 { 12 private $foo; 13} 14 15echo "PRE-CLASS-GUARD-TraitsTest\n"; 16 17class TraitsTest { 18 use THello1; 19 use THello2; 20} 21 22echo "PRE-CLASS-GUARD-TraitsTest2\n"; 23 24class TraitsTest2 { 25 use THello1; 26 use THello2; 27} 28 29var_dump(property_exists('TraitsTest', 'foo')); 30var_dump(property_exists('TraitsTest2', 'foo')); 31?> 32--EXPECT-- 33PRE-CLASS-GUARD-TraitsTest 34PRE-CLASS-GUARD-TraitsTest2 35bool(true) 36bool(true) 37