<?php$resource = gmp_neg ( "-1" // resource $a);// shows the result$string = gmp_strval($resource);?>
$resource = 'GMP instance' $string = '1'
'GMP instance'
'1'
#1
gmp_neg
("1")
#2
("-1")