udm_hash32

(PHP 4 >= 4.3.3, PHP 5 < 5.1.0, PECL mnogosearch >= 1.0.0)

udm_hash32Return Hash32 checksum of given string

说明

udm_hash32 ( resource $agent , string $str ) : int

udm_hash32() will take a string str and return a quite unique 32-bit hash number from it.

参数

agent

A link to Agent, received after call to udm_alloc_agent().

str

The input string.

返回值

Returns a 32-bit hash number.

参见

关注编程学问公众号