(PHP 7, PHP 8)
Error::__clone — Clone the error
Errors do not support cloning; this method exists only to prevent it.
У цієї функції немає параметрів.
Не повертає значень.
Attempting to clone an error throws an Error
with the following message:
Trying to clone an uncloneable object of class ClassName.
| Версія | Опис |
|---|---|
| 8.1.0 | Error::__clone() is no longer final. |