Home > PHP > Function > COM > variant_not()

variant_not()

variant_not - Performs bitwise not negation on a variant

Syntax

mixed variant_not (mixed $variant)

Arguments

  • variant - The variant.

Description

Performs bitwise not negation on variant and returns the result.

Version

PHP 5

Return value

Returns the bitwise not negation. If variant is NULL, the result will also be NULL.