W3cubDocs

/PHP

ReflectionExtension::__clone

(PHP 5, PHP 7)

ReflectionExtension::__cloneClones

Description

final private ReflectionExtension::__clone ( ) : void

The clone method prevents an object from being cloned. Reflection objects cannot be cloned.

Parameters

This function has no parameters.

Return Values

No value is returned, if called a fatal error will occur.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionextension.clone.php