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

10 lines
173 B
Markdown

# MixedStringOffsetAssignment
Emitted when assigning a value on a string using a value for which Psalm cannot infer a type
```php
<?php
"hello"[0] = $GLOBALS['foo'];
```