diff options
Diffstat (limited to 'ext/date/tests/bug28024.phpt')
| -rw-r--r-- | ext/date/tests/bug28024.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/date/tests/bug28024.phpt b/ext/date/tests/bug28024.phpt new file mode 100644 index 0000000..b5f97bd --- /dev/null +++ b/ext/date/tests/bug28024.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #28024 (Changed behavior of strtotime()) +--INI-- +date.timezone=Europe/Berlin +--FILE-- +<?php + echo strtotime("17:00 2004-01-01"), "\n"; + echo date("Y-m-d H:i:s T", strtotime("17:00 2004-01-01")); +?> +--EXPECT-- +1072972800 +2004-01-01 17:00:00 CET |
