variant_neg
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Performs logical negation on a variant
Description
variant_neg(mixed $value): variant
Performs logical negation of value.
Parameters
valueThe variant.
Variant-arith
Return Values
Returns the result of the logical negation.
Errors/Exceptions
Throws a com_exception on failure.