3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/London'); $date = new DateTime(); $date2 = new DateTime('+64 minutes'); var_dump($date->diff($date2)->format('y-m-d');
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected ';' in /in/gVnHR on line 5
Process exited with code 255.