1--TEST-- 2Bug #60153 (Interface method prototypes not enforced when implementd via traits.) 3--FILE-- 4<?php 5 6interface IFoo { 7 public function oneArgument($a); 8} 9 10trait TFoo { 11 public function oneArgument() {} 12} 13 14class C implements IFoo { 15 use TFoo; 16} 17 18--EXPECTF-- 19Fatal error: Declaration of TFoo::oneArgument() must be compatible with IFoo::oneArgument($a) in %s on line %d 20