PHP: Hypertext Preprocessor (original) (raw)

Change language:

Error::__clone

(PHP 7, PHP 8)

Error::__clone — Clone the error

Description

private Error::__clone(): void

Error can not be cloned, so this method results in fatal error.

Parameters

This function has no parameters.

Return Values

No value is returned.

Errors/Exceptions

Errors are not clonable.

Changelog

Version Description
8.1.0 Error::__clone() is no longer final.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug

+add a note

User Contributed Notes

There are no user contributed notes for this page.