|
gmp_hamdistHamming distance Description
int gmp_hamdist
( GMP
$a
, GMP $b
)
Returns the hamming distance between Parameters
Return ValuesA GMP number resource in PHP 5.5 and earlier, or a GMP object in PHP 5.6 and later. Examples
Example #1 gmp_hamdist example
<?php The above example will output: 6 6 See Also
|