<?php$resource = gmp_nextprime ( 10 // int $a);// shows the result$string = gmp_strval($resource);?>
$resource = 'GMP instance' $string = '11'
'GMP instance'
'11'
#1
gmp_nextprime
(10)
#2
(-1000)