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

variant_pow

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Returns the result of performing the power function with two variants

Description

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

Returns the result of left to the power of right.

Parameters

left

The left operand.

right

The right operand.

Variant-arith

Return Values

Returns the result of left to the power of right.

Errors/Exceptions

Throws a com_exception on failure.

See Also

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