From: Lars Strojny Date: Sun, 6 Jan 2013 02:15:08 +0000 (+0100) Subject: Adding test from 5.5 X-Git-Tag: php-5.5.0alpha3~14^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e5460ad86d304e9046bee6d41c1d5c260f39f2d;p=php Adding test from 5.5 --- diff --git a/ext/date/tests/date_default_timezone_get-4.phpt b/ext/date/tests/date_default_timezone_get-4.phpt new file mode 100644 index 0000000000..6d1982bc13 --- /dev/null +++ b/ext/date/tests/date_default_timezone_get-4.phpt @@ -0,0 +1,11 @@ +--TEST-- +date_default_timezone_get() function [4] +--INI-- +date.timezone=Incorrect/Zone +--FILE-- + +--EXPECTF-- +Warning: date_default_timezone_get(): Invalid date.timezone value 'Incorrect/Zone', we selected the timezone 'UTC' for now. in %sdate_default_timezone_get-4.php on line %d +UTC