3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = ['Jordan', 'Andre', 'Brittany', 'Gabrielle']; echo $arr[0]; print_r($arr);

preferences:
36.61 ms | 402 KiB | 5 Q