1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00
psalm/docs/running_psalm/issues/NullArrayAccess.md
2020-03-20 19:13:56 -04:00

11 lines
120 B
Markdown

# NullArrayAccess
Emitted when trying to access an array value on `null`
```php
<?php
$arr = null;
echo $arr[0];
```