3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ['first']; if (isset($array[2])) { echo "Key 2 exists"; } echo "Now the code just flows through";

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
210.06 ms | 2029 KiB | 8 Q