diff options
Diffstat (limited to 'ext/date/tests/mktime-1.phpt')
-rw-r--r-- | ext/date/tests/mktime-1.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/tests/mktime-1.phpt b/ext/date/tests/mktime-1.phpt index 86723e01ac..aa413b7319 100644 --- a/ext/date/tests/mktime-1.phpt +++ b/ext/date/tests/mktime-1.phpt @@ -3,12 +3,12 @@ Check for mktime with out-of-range parameters --INI-- error_reporting=E_ALL --FILE-- -<?php +<?php date_default_timezone_set("Europe/Amsterdam"); # MacOS/X libc implementation doesn't treat out-of-range values # the same way other unices do (Bug# 10686) so some extra code -# was added to datetime.c to take care of this +# was added to datetime.c to take care of this echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2000)) ."\n"; echo date("Y-m-d", mktime( 12, 0, 0, 3, -1, 2000)) ."\n"; echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2000)) ."\n"; |