3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('today'); var_dump($date->format('Y-m-d H:i:s'); $date->modify('16:00'); var_dump($date->format('Y-m-d H:i:s');
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ';' in /in/fY8QW on line 4
Process exited with code 255.