3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $yr="2014"; $dif=2012-$yr; $week="01"; $day="Monday"; $day=date("D",strtotime($day)); echo date("Y-m-d", strtotime($yr."W".$week."D ".$day)+);; echo $dif; ?>
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ')' in /in/40s5K on line 7
Process exited with code 255.