3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(1); for($i = 0; $i < 1000; $i++) { $b = $i; } echo round(array_sum(explode(' ', microtime())) - array_sum(explode(' ', $start)), 3);
based on V3SbL
Output for 5.4.24 - 5.4.25, 5.4.27, 5.4.29, 5.6.7, 7.0.1, 7.0.3 - 7.0.4, 7.0.6, 7.1.0
-0
Output for 4.3.0 - 5.4.23, 5.4.26, 5.4.28, 5.4.30 - 5.5.35, 5.6.8 - 7.0.0, 7.0.2, 7.0.5, 7.0.14
0