You could always make your own function for exponents,
It would look something like this:
function power($base,$exponent) {
for($exponent,$exponent > 0, $exponent--) {
$base = $base*$base;
}
return $base;
}
correct me if I'm wrong.
Hope this helps,
SnipinBeava!