PHP - Manual: BOOL_XOR
2025-11-04
<?php
/*
 * Boolean (logical) xor of value1
 * opcode number: 14
 */
echo 1 xor 2;
?>
Function name: (null)
Compiled variables: none
| line | # | op | fetch | ext | return | operands | 
|---|---|---|---|---|---|---|
| 6 | 0 | BOOL_XOR | ~0 | 1,2 | ||
| 1 | ECHO | ~0 | ||||
| 7 | 2 | RETURN | 1 | 
官方地址:https://www.php.net/manual/en/internals2.opcodes.bool-xor.php