|
gmp_gcdCalculate GCD Description
resource gmp_gcd
( resource
$a
, resource $b
)
Calculate greatest common divisor of Parameters
Return Values
A positive GMP number that divides into both
Examples
Example #1 gmp_gcd example
<?php The above example will output: 3 |