3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = new \DateTime('2012-12-05T12:00:00-04:00'); var_dump($date->format('m/d');
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ';' in /in/YiA5V on line 3
Process exited with code 255.