internals2-php-opcodes-php-pre-inc-2

  • Opcode Descriptions and
    Examples
  • PRE_INC

  • PRE_INC
  • PRE_INC

    PRE_INC

    PHP code

    <?php
    /*
     * increments variable indicated by value1 by 1 (before performing other operations) and stores in result
     * opcode number: 34
     */
    ++$a;
    ?>

    PHP opcodes

    Function name: (null)

    Compiled variables: !0=$a

    line # op fetch ext return operands
    6 0 PRE_INC       !0
    7 1 RETURN       1