3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ''; $read = $array['a']['b']; var_dump($array, $read);

preferences:
50.72 ms | 404 KiB | 5 Q