3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new \DateTime("2014-02-10"); sleep(5); $date2 = new \DateTime("2014-02-10"); echo $date->format('Y-m-d H:i:s') . PHP_EOL; echo $date2->format('Y-m-d H:i:s');
Output for 5.3.6 - 5.4.25

Process exited with code 137.