php-src/ext/date/tests/bug33056.phpt
Derick Rethans bf23d8d2b8 - Renamed date_timezone_set/get() to date_default_timezone_set/get().
- Added missing proto's and folding marks.
2005-07-04 21:27:26 +00:00

14 lines
285 B
PHP

--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