summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug33056.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/bug33056.phpt')
-rw-r--r--ext/date/tests/bug33056.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/date/tests/bug33056.phpt b/ext/date/tests/bug33056.phpt
new file mode 100644
index 0000000..441acc5
--- /dev/null
+++ b/ext/date/tests/bug33056.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Bug #33056 (strtotime() does not parse 20050518t090000Z)
+--FILE--
+<?php
+date_default_timezone_set("GMT");
+echo strtotime('20050518t090000Z')."\n";
+echo strtotime('20050518t091234Z')."\n";
+echo strtotime('20050518t191234Z')."\n";
+?>
+--EXPECT--
+1116406800
+1116407554
+1116443554