3v4l.org

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