InvalidArrayOffset# Emitted when attempting to access an array using a value that's not a valid offset for that array <?php $a = [5, 20, 18]; echo $a["hello"]; Get Psalm news by email News about Psalm, a few emails a month. You can unsubscribe at any time. Email Subscribe I accept the privacy policy