1--TEST-- 2Bug #62358 (Segfault when using traits a lot) 3--FILE-- 4<?php 5 6trait T { 7 public function foo() { 8 echo "from T"; 9 } 10} 11 12interface I { 13 public function foo(); 14} 15 16abstract class A implements I{ 17 use T; 18} 19 20class B extends A { 21 public function foo($var) { 22 } 23} 24?> 25--EXPECTF-- 26Fatal error: Declaration of B::foo($var) must be compatible with A::foo() in %sbug62358.php on line 17 27