3v4l.org

run code in 300+ PHP versions simultaneously
<?php $yr="2014; $week="01"; $day="02"; $day=date("D",strtotime($day)); $newdate= date("Y-m-d", strtotime($yr."W".$week));; echo $newdate; ?>
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '01' (T_LNUMBER) in /in/d98t7 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_LNUMBER in /in/d98t7 on line 3
Process exited with code 255.

preferences:
182.59 ms | 1399 KiB | 62 Q