(PHP 4 >= 4.0.4, PHP 5, PHP 7)
Exact division of numbers
GMP gmp_divexact ( GMP $n, GMP $d )
Divides n by d, using fast "exact division" algorithm. This function produces correct results only when it is known in advance that d divides n.
Parameters:
n
The number being divided.
Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a