|
PHP5中文手册
gmp_hamdist(PHP 4 >= 4.0.4, PHP 5) gmp_hamdist — Hamming distance 说明
int gmp_hamdist
( resource $a
, resource $b
)
Returns the hamming distance between a and b . Both operands should be non-negative. 参数
返回值A GMP number resource. 范例
Example#1 gmp_hamdist() example
<?php 上例将输出:
|