<?php$resource = gmp_divexact ( "10", // resource $n "2" // resource $d);// shows the result$string = gmp_strval($resource);?>
$resource = 'GMP instance' $string = '5'
'GMP instance'
'5'
#1
gmp_divexact
("10", "2")
#2
("10", "3")