3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(0, 250_000); $b = range(250_000, 500_000); $start = microtime(true); foreach(array_merge($a, $b) as $key => $item){ // } $elapsed = microtime(true) - $start; var_dump($elapsed);

preferences:
26.55 ms | 407 KiB | 5 Q