PHP - Manual: ASSIGN_DIM
2024-12-21
<?php
/*
*
* opcode number: 147
*/
$b = 1;
$a[1][2] = $b;
?>
Function name: (null)
Compiled variables: !0=$b, !1=$a
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | ASSIGN | !0,1 | |||
7 | 1 | FETCH_DIM_W | $1 | !1,1 | ||
2 | ZEND_ASSIGN_DIM | $1,2 | ||||
3 | ZEND_OP_DATA | !0,$3 | ||||
8 | 4 | RETURN | 1 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.assign-dim.php