summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug33452.phpt
blob: e5abebf3c8dd64326ebc74d631a2511064528c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #33452 (Support for year accompanying ISO week nr)
--FILE--
<?php
date_default_timezone_set("GMT");
echo date('Y-W', strtotime('2005-1-1')), "\n";
echo date('o-W', strtotime('2005-1-1')), "\n";
?>
--EXPECT--
2005-53
2004-53