CLONE
PHP code
<?php
/*
*
* opcode number: 110
*/
$obj = new A();
$copy = clone $obj;
?>
PHP opcodes
<?php
/*
*
* opcode number: 110
*/
$obj = new A();
$copy = clone $obj;
?>
PHP opcodes
Function name: (null)
Compiled variables: !0=$obj, !1=$copy
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/internals2.opcodes.clone.php