Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 168 Bytes

PossiblyNullArrayAccess.md

File metadata and controls

11 lines (8 loc) · 168 Bytes

PossiblyNullArrayAccess

Emitted when trying to access an array offset on a possibly null value

<?php

function foo(?array $a) : void {
    echo $a[0];
}