1--TEST-- 2Trait property hook conflict 3--FILE-- 4<?php 5 6trait T { 7 public $prop { 8 get { echo __METHOD__, "\n"; } 9 set { echo __METHOD__, "\n"; } 10 } 11} 12 13class C { 14 use T; 15 16 public $prop { 17 get { echo __METHOD__, "\n"; } 18 set { echo __METHOD__, "\n"; } 19 } 20} 21 22?> 23--EXPECTF-- 24Fatal error: C and T define the same hooked property ($prop) in the composition of C. Conflict resolution between hooked properties is currently not supported. Class was composed in %s on line %d 25