1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 02:27:59 +01:00
psalm/docs/running_psalm/issues/MixedArrayOffset.md
2022-09-15 19:38:51 +02:00

10 lines
167 B
Markdown

# MixedArrayOffset
Emitted when attempting to access an array offset where Psalm cannot determine the offset type
```php
<?php
echo [1, 2, 3][$GLOBALS['foo']];
```