php8.5
Home/ Manual/ com / functions/ variant_not

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

value

The 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.

Source: reference/com/functions/variant-not.xml · from the official PHP manual (php/doc-en)