mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 08:49:52 +01:00
11 lines
143 B
Markdown
11 lines
143 B
Markdown
# NullArrayOffset
|
|
|
|
Emitted when trying to access an array offset with `null`
|
|
|
|
```php
|
|
<?php
|
|
|
|
$arr = ['' => 5, 'foo' => 1];
|
|
echo $arr[null];
|
|
```
|