internals2-php-opcodes-php-bw-and-7

  • Opcode Descriptions and
    Examples
  • BW_AND

  • BW_AND
  • BW_AND

    BW_AND

    PHP code

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

    PHP opcodes

    Function name: (null)

    Compiled variables: none

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