3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[100][] = 'aa'; print_r($a);

preferences:
29.79 ms | 402 KiB | 5 Q