3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = array(); for ($i=0; $i<10000; $i++) { $total[] = $i; } var_dump($total[0]);

preferences:
38.82 ms | 402 KiB | 5 Q