internals2-php-opcodes-php-fetch-dim-tmp-var-1

  • Opcode Descriptions and
    Examples
  • FETCH_DIM_TMP_VAR

  • FETCH_DIM_TMP_VAR
  • FETCH_DIM_TMP_VAR

    FETCH_DIM_TMP_VAR

    PHP code

    <?php
    /*
     * Fetch an entry of an array from a temporal variable?
     * opcode number: 98
     */
    list($x) = array("X");
    ?>

    PHP opcodes

    Function name: (null)

    Compiled variables: !0=$x

    line # op fetch ext return operands
    6 0 INIT_ARRAY     ~0 ‘X’
      1 FETCH_DIM_TMP_VAR     $1 ~0,0
      2 ASSIGN       !0,$1
      3 FREE       ~0
    7 4 RETURN       1