在线文档教程
PHP
反射 | Reflection

ReflectionExtension::__clone

ReflectionExtension::__clone

(PHP 5, PHP 7)

ReflectionExtension::__clone — Clones

Description

final private void 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

  • ReflectionExtension::__construct() - Constructs a ReflectionExtension

  • Object cloning

← ReflectionExtension

ReflectionExtension::__construct →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/reflectionextension.clone.php