(PHP 5, PHP 7)
Performs a bitwise implication on two variants
mixed variant_imp ( mixed $left, mixed $right )
Performs a bitwise implication operation.
Parameters:
left
The left operand.
right
The right operand.
Returns:
If left is | If right is | then the result is |
---|---|---|
TRUE |
TRUE |
TRUE |
TRUE |
FALSE |
TRUE |
TRUE |
NULL |
TRUE |
FALSE |
TRUE |
TRUE |
FALSE |
FALSE |
TRUE |
FALSE |
NULL |
TRUE |
NULL |
TRUE |
TRUE |
NULL |
FALSE |
NULL |
NULL |
NULL |
NULL |
Please login to continue.