mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 13:10:49 +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;
|
|
```
|