summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug33056.phpt
blob: 441acc57124aa45d23520b00f5908729a32e16a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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