3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($msec, $sec) = explode(' ', microtime()); $one = date('YmdHis', $sec).str_pad(round($msec*1000, 0), 3, '0') . "\n"; sleep(1); list($msec, $sec) = explode(' ', microtime()); $two = date('YmdHis', $sec).str_pad(round($msec*1000, 0), 3, '0'); echo $one == $two;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0