3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/New_York'); $date = new DateTime()); echo json_encode($date->format(DateTime::ISO8601));
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected ')' in /in/KCiXZ on line 5
Process exited with code 255.