3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("foo"); var_dump($arr[0][0]);

preferences:
34.92 ms | 402 KiB | 5 Q