1--TEST--
2ZE2 A class constructor must keep the signature of base class interfaces
3--FILE--
4<?php
5interface constr
6{
7	function __construct();
8}
9
10class implem implements constr
11{
12	function __construct()
13	{
14	}
15}
16
17class derived extends implem
18{
19	function __construct($a)
20	{
21	}
22}
23
24?>
25--EXPECTF--
26Fatal error: Declaration of derived::__construct($a) must be compatible with constr::__construct() in %s on line %d
27