3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dateEvent = new DateTime("05/02/2014"); $dateOther = ,ew DateTime("05/03/2014"); var_dump($dateEvent->diff($dateOther));
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ',' in /in/8XVp2 on line 3
Process exited with code 255.