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

variant_eqv

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Performs a bitwise equivalence on two variants

Description

variant_eqv(mixed $left, mixed $right): variant

Performs a bitwise equivalence on two variants.

Parameters

left

The left operand.

right

The right operand.

Variant-arith

Return Values

If each bit in left is equal to the corresponding bit in right then true is returned, otherwise false is returned.

Errors/Exceptions

Throws a com_exception on failure.

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