PHP Math Function : pow()

The pow() function returns x raised to the power of y. The syntax is :
 pow(x,y);
Where x specifies the base to use, and y specifies the exponent  ( xy ).

Example :
<?php

  echo pow(2, 4) . "<br/>";
  echo pow(5, 2) . "<br/>";
  echo pow(2, 8) . "<br/>";

?>
Output :

16
25
256

Next Topic :