The PHP pow() function returns x raised to the power of y.

				
					<?php
echo(pow(-2,4));
?>
				
			

Syntax

				
					pow(x,y)
				
			

Parameters

ParameterDescription
xSpecifies the base to use (required)
ySpecifies the exponent (required)