3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t0 = microtime(true); foreach(range(0,10000) as $i); $t1 = microtime(true); for($i = 0; $i < 10000; ++$i); $t2 = microtime(true); $t_range = $t1 - $t0; $t_no_range = $t2 - $t1; $ratio = $t_range/$t_no_range; echo "Results: Range is {$ratio} times slower. --- With range: {$t_range}ms Without range: {$t_no_range}ms ";

preferences:
32.93 ms | 405 KiB | 5 Q