3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('d/m/Y'); print "\n"; echo date('d/m/Y', strtotime("1-W".date('W')."-".date('Y'))); print "\n"; echo date('d/m/Y', strtotime("2013-W01-1")); ?>
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
05/01/2015 01/01/1970 31/12/2012
Output for 4.3.0 - 4.4.9, 5.1.0 - 5.1.6
05/01/2015 01/01/1970 01/01/1970
Output for 5.0.0 - 5.0.5
05/01/2015 15/07/2006 31/12/2012