3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start_time = microtime(true); function shutdown($start_time) { $time_diff = round(1000 * (microtime(true)-$start_time)); echo $time_diff . "ms<br/>"; } register_shutdown_function('shutdown', $start_time); register_shutdown_function('shutdown', $start_time); register_shutdown_function('shutdown', $start_time); register_shutdown_function('shutdown', $start_time); register_shutdown_function('shutdown', $start_time);
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0ms<br/>0ms<br/>0ms<br/>0ms<br/>0ms<br/>