pow Exponential expression &reftitle.description; intfloatpow intfloatbase intfloatexp Returns base raised to the power of exp. In PHP 5.6 onwards, you may prefer to use the ** operator. &reftitle.parameters; base The base to use exp The exponent &reftitle.returnvalues; base raised to the power of exp. If both arguments are non-negative integers and the result can be represented as an integer, the result will be returned with int type, otherwise it will be returned as a float. &reftitle.examples; Some examples of <function>pow</function> =5.2.2: NAN echo pow(-1, 5.5); // PHP <5.2.2: -NAN ?> ]]> &reftitle.notes; This function will convert all input to a number, even non-scalar values, which could lead to weird results. &reftitle.seealso; exp sqrt bcpow gmp_pow