From: Marcus Boerger Date: Tue, 30 May 2006 23:11:13 +0000 (+0000) Subject: - Add new tests X-Git-Tag: BEFORE_NEW_OUTPUT_API~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78e44d8ab045b4841cb171cb50d4f9decd2aec85;p=php - Add new tests --- diff --git a/tests/classes/inheritance_003.phpt b/tests/classes/inheritance_003.phpt new file mode 100755 index 0000000000..14ff1be793 --- /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 0000000000..1dc5fa0c5f --- /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