mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
12 lines
237 B
PHP
12 lines
237 B
PHP
--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
|