3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(); for ($i = 0; $i < 100000; $i++) { $x[] = $i; } #for ($i = 0; $i < 100000; $i++) { # $x[$i]++; #} for ($i = 0; $i < 100000; $i++) { echo array_pop($x); } $string = implode(",", $x); $x = explode(",", $string);

preferences:
36.78 ms | 402 KiB | 5 Q