mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 17:57:37 +01:00
11 lines
122 B
Markdown
11 lines
122 B
Markdown
# InvalidClone
|
|
|
|
Emitted when trying to clone a value that's not cloneable
|
|
|
|
```php
|
|
<?php
|
|
|
|
$a = "hello";
|
|
$b = clone $a;
|
|
```
|