3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $yr = "2014"; $week = "01"; $day = "1"; //Monday echo date("Y-m-d", strtotime($yr . "W" . $week . $day)); // "2014W01D1"
Output for 5.0.0 - 5.0.5, 5.1.1 - 7.1.0
2013-12-30
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/VmfPp on line 5
Process exited with code 255.
Output for 4.3.0 - 4.4.9
1970-01-01