3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Current time echo date('h:i:s') . "\n"; // wait for 2 seconds $a = 1.5; usleep(($a*1000000)); // back! echo date('h:i:s') . "\n";
based on OiUpD
Output for 7.0.20, 7.2.0
04:17:27 04:17:29
Output for 5.4.0 - 7.0.10, 7.1.0 - 7.1.10
04:17:27 04:17:28