1--TEST-- 2ZE2 A class constructor must keep the signature of all interfaces 3--FILE-- 4<?php 5interface constr1 6{ 7 function __construct(); 8} 9 10interface constr2 extends constr1 11{ 12} 13 14class implem12 implements constr2 15{ 16 function __construct() 17 { 18 } 19} 20 21interface constr3 22{ 23 function __construct($a); 24} 25 26class implem13 implements constr1, constr3 27{ 28 function __construct() 29 { 30 } 31} 32?> 33--EXPECTF-- 34Fatal error: Declaration of implem13::__construct() must be compatible with constr3::__construct($a) in %s on line %d 35