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:
221.52 ms | 2028 KiB | 10 Q