summaryrefslogtreecommitdiff
path: root/ext/intl/tests/timezone_useDaylightTime_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/tests/timezone_useDaylightTime_error.phpt')
-rw-r--r--ext/intl/tests/timezone_useDaylightTime_error.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/intl/tests/timezone_useDaylightTime_error.phpt b/ext/intl/tests/timezone_useDaylightTime_error.phpt
index 455a9acf11..ab63d7a428 100644
--- a/ext/intl/tests/timezone_useDaylightTime_error.phpt
+++ b/ext/intl/tests/timezone_useDaylightTime_error.phpt
@@ -19,4 +19,8 @@ Warning: IntlTimeZone::useDaylightTime() expects exactly 0 parameters, 1 given i
Warning: IntlTimeZone::useDaylightTime(): intltz_use_daylight_time: bad arguments in %s on line %d
bool(false)
-Fatal error: Argument 1 passed to intltz_use_daylight_time() must be an instance of IntlTimeZone, null given in %s on line %d
+Fatal error: Uncaught TypeException: Argument 1 passed to intltz_use_daylight_time() must be an instance of IntlTimeZone, null given in %s:%d
+Stack trace:
+#0 %s(%d): intltz_use_daylight_time(NULL)
+#1 {main}
+ thrown in %s on line %d