PHP - Manual: BOOL_NOT
2024-12-27
<?php
/*
* Boolean (logical) not of "value"
* opcode number: 13
*/
echo !1;
?>
Function name: (null)
Compiled variables: none
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | BOOL_NOT | ~0 | 1 | ||
1 | ECHO | ~0 | ||||
7 | 2 | RETURN | 1 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.bool-not.php