3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('d/m/Y'); echo "<br />"; echo date('d/m/Y', strtotime("1-".date('W')."-".date('Y'))); ?>
Output for 5.1.0 - 7.1.0
13/06/2014<br />01/01/1970
Output for 4.3.0 - 5.0.5
13/06/2014<br />05/06/2008