PHP - Manual: BW_AND
2025-10-29
<?php
/*
* Bit-wise and of value1 and value2
* opcode number: 10
*/
echo 1&2;
?>
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 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.bw-and.php