internals2-php-opcodes-php-bw-or-5

  • Opcode Descriptions and
    Examples
  • BW_OR

  • BW_OR
  • BW_OR

    BW_OR

    PHP code

    <?php
    /*
     * Bit-wise or of value1 and value2
     * opcode number: 9
     */
    echo 1|2;
    ?>

    PHP opcodes

    Function name: (null)

    Compiled variables: none

    line # op fetch ext return operands
    6 0 BW_OR     ~0 1,2
      1 ECHO       ~0
    7 2 RETURN       1