variant_not
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Performs bitwise not negation on a variant
Description
variant_not(mixed $value): variant
Performs bitwise not negation on value and returns the result.
Parameters
valueThe variant.
Variant-arith
Return Values
Returns the bitwise not negation. If value is null, the result will also be null.
Errors/Exceptions
Throws a com_exception on failure.