1--TEST-- 2Bug #65576 (Constructor from trait conflicts with inherited constructor) 3--FILE-- 4<?php 5 6trait T 7{ 8 public function __construct() 9 { 10 echo "Trait contructor\n"; 11 } 12} 13 14class A 15{ 16 public function __construct() 17 { 18 echo "Parent constructor\n"; 19 } 20} 21 22class B extends A 23{ 24 use T; 25} 26 27new B(); 28--EXPECT-- 29Trait contructor 30