Php/docs/internals2.opcodes.assign-dim

来自菜鸟教程
跳转至:导航、​搜索

ASSIGN_DIM

PHP code

<?php/* *  * opcode number: 147 */$b = 1;$a[1][2] = $b;?>

PHP opcodes

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