diff options
Diffstat (limited to 'tests/classes/ctor_in_interface_02.phpt')
-rwxr-xr-x | tests/classes/ctor_in_interface_02.phpt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/classes/ctor_in_interface_02.phpt b/tests/classes/ctor_in_interface_02.phpt deleted file mode 100755 index a0dfe87788..0000000000 --- a/tests/classes/ctor_in_interface_02.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -ZE2 A class constructor must keep the signature of all interfaces ---FILE-- -<?php -interface constr1 -{ - function __construct(); -} - -interface constr2 extends constr1 -{ -} - -class implem12 implements constr2 -{ - function __construct() - { - } -} - -interface constr3 -{ - function __construct($a); -} - -class implem13 implements constr1, constr3 -{ - function __construct() - { - } -} - -?> ---EXPECTF-- -Fatal error: Can't inherit abstract function constr3::__construct() (previously declared abstract in constr1) in %s on line %d |