summaryrefslogtreecommitdiff
path: root/tests/classes/inheritance_003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/inheritance_003.phpt')
-rw-r--r--tests/classes/inheritance_003.phpt4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/classes/inheritance_003.phpt b/tests/classes/inheritance_003.phpt
index bcbead1be7..925544e754 100644
--- a/tests/classes/inheritance_003.phpt
+++ b/tests/classes/inheritance_003.phpt
@@ -14,7 +14,5 @@ class B extends A
}
?>
-===DONE===
--EXPECTF--
-Warning: Declaration of B::f() should be compatible with A::f($x) in %sinheritance_003.php on line %d
-===DONE===
+Fatal error: Declaration of B::f() must be compatible with A::f($x) in %sinheritance_003.php on line %d