PHP - Manual: ASSIGN_REF
2025-11-03
<?php
/*
 * indicates that variable indicated by value1 is to be treated in the global scope for the remainder of the current scope.
 * opcode number: 39
 */
global $a;
?>
Function name: (null)
Compiled variables: !0=$a
| line | # | op | fetch | ext | return | operands | 
|---|---|---|---|---|---|---|
| 6 | 0 | FETCH_W | globallock | $0 | 'a' | |
| 1 | ASSIGN_REF | !0,$0 | ||||
| 7 | 2 | RETURN | 1 | 
官方地址:https://www.php.net/manual/en/internals2.opcodes.assign-ref.php