summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug29585.phpt
blob: 394569924662b7b20649800f9447917d89931822 (plain)
1
2
3
4
5
6
7
8
9
--TEST--
Bug #29585 (Support week numbers in strtotime())
--FILE--
<?php
date_default_timezone_set("GMT");
echo gmdate("Y-m-d H:i:s", strtotime("2004W30"));
?>
--EXPECT--
2004-07-19 00:00:00