summaryrefslogtreecommitdiff
path: root/ext/date/tests/ExtendDateTime.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/ExtendDateTime.phpt')
-rw-r--r--ext/date/tests/ExtendDateTime.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/tests/ExtendDateTime.phpt b/ext/date/tests/ExtendDateTime.phpt
index 164221709c..212d44ab82 100644
--- a/ext/date/tests/ExtendDateTime.phpt
+++ b/ext/date/tests/ExtendDateTime.phpt
@@ -9,4 +9,4 @@ class MyDateTime extends DateTime {
}
?>
--EXPECTF--
-Warning: Declaration of MyDateTime::__set_state() should be compatible with DateTime::__set_state(array $array) in %s on line %d
+Fatal error: Declaration of MyDateTime::__set_state() must be compatible with DateTime::__set_state(array $array) in %s on line %d