Gen. partnerAlgotech

PHP function pow()

Exponential expression

|
September 11, 2019

Availability in PHP 4.0

Exponential expression

Parameters

Parameter Data type Default value Note
$base number not The base to use
$exp number not The exponent

Return values

number

base raised to the power of exp. If the result can be represented as integer it will be returned as type integer, else it will be returned as type float. If the power cannot be computed false will be returned instead.

Other resources

Official pow documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.