summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug21399.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/bug21399.phpt')
-rw-r--r--ext/date/tests/bug21399.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/date/tests/bug21399.phpt b/ext/date/tests/bug21399.phpt
new file mode 100644
index 0000000..a295c8b
--- /dev/null
+++ b/ext/date/tests/bug21399.phpt
@@ -0,0 +1,10 @@
+--TEST--
+Bug #21399 (strtotime() request for "YYYYMMDDhhmmss [ZZZ]")
+--INI--
+date.timezone=GMT
+--FILE--
+<?php
+ echo gmdate("Y-m-d H:i:s", strtotime("20050620091407 GMT"));
+?>
+--EXPECT--
+2005-06-20 09:14:07