]> granicus.if.org Git - php/commitdiff
Added test for bug #33056.
authorIlia Alshanetsky <iliaa@php.net>
Wed, 15 Jun 2005 23:24:28 +0000 (23:24 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 15 Jun 2005 23:24:28 +0000 (23:24 +0000)
ext/date/tests/bug33056.phpt [new file with mode: 0644]

diff --git a/ext/date/tests/bug33056.phpt b/ext/date/tests/bug33056.phpt
new file mode 100644 (file)
index 0000000..65a0608
--- /dev/null
@@ -0,0 +1,12 @@
+--TEST--
+Bug #33056 (strtotime() does not parse 20050518t090000Z)
+--FILE--
+<?php
+echo strtotime('20050518t090000Z')."\n";
+echo strtotime('20050518t091234Z')."\n";
+echo strtotime('20050518t191234Z')."\n";
+?>
+--EXPECT--
+1116406800
+1116407554
+1116443554