|
gmp_cmpCompare numbers Description
int gmp_cmp
( GMP
$a
, GMP $b
)Compares two numbers. Parameters
Return ValuesReturns a positive value if a > b, zero if a = b and a negative value if a < b. ExamplesExample #1 gmp_cmp example
<?php The above example will output: 1 -1 0 |