3v4l.org

run code in 300+ PHP versions simultaneously
<?php $randList = array(); for ($i=0;$i<100000;$i++) { $randList[] = rand(1, 10); } foreach ($randList as $number) { //echo "$number "; } echo "\n";

preferences:
32.54 ms | 402 KiB | 5 Q