3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$date = new DateTime('2000-01-01'); echo $date->format('Y-m-d H:i:s');var_dump( DateTime::createFromFormat("d.m.Y", "16/10/2013")->format("m/d/Y")); ?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.32
<?php$date = new DateTime('2000-01-01'); echo $date->format('Y-m-d H:i:s');var_dump( DateTime::createFromFormat("d.m.Y", "16/10/2013")->format("m/d/Y")); ?>