3v4l.org

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