variant_imp

(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:
Variant Implication Table
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
doc_php
2016-02-24 16:14:27
Comments
Leave a Comment

Please login to continue.