diff --git a/tests/classes/inheritance_003.phpt b/tests/classes/inheritance_003.phpt new file mode 100755 index 00000000000..14ff1be793e --- /dev/null +++ b/tests/classes/inheritance_003.phpt @@ -0,0 +1,20 @@ +--TEST-- +ZE2 method inheritance without interfaces +--FILE-- + +===DONE=== +--EXPECTF-- + +Fatal error: Declaration of B::f() must be compatible with that of A::f() in %sinheritance_003.php on line %d diff --git a/tests/classes/inheritance_004.phpt b/tests/classes/inheritance_004.phpt new file mode 100755 index 00000000000..1dc5fa0c5fb --- /dev/null +++ b/tests/classes/inheritance_004.phpt @@ -0,0 +1,20 @@ +--TEST-- +ZE2 method inheritance without interfaces +--FILE-- + +===DONE=== +--EXPECTF-- + +Fatal error: Declaration of B::f() must be compatible with that of A::f() in %sinheritance_004.php on line %d