(PHP 4 >= 4.0.4)
resource gmp_powm (resource base, resource exp, resource mod)
resource gmp_powm
Calculate (base raised into power exp) modulo mod. If exp is negative, result is undefined.