3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = new \DateTime('2014-05-16'); var_dump(date('Y-m-d', strtotime('previous Monday ' . $date->format('Y-m-d'));
Output for 5.3.0 - 5.5.12
Parse error: syntax error, unexpected ';' in /in/6agF2 on line 4
Process exited with code 255.