internals2-php-opcodes-php-return-7

  • Opcode Descriptions and
    Examples
  • RETURN

  • RETURN
  • RETURN

    RETURN

    PHP code

    <?php
    /*
     * Return value from a funciton.
     * opcode number: 62
     */
    return 1;
    ?>

    PHP opcodes

    Function name: (null)

    Compiled variables: none

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