<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Return Hash32 checksum of gived string</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.udm-get-res-param.html">udm_get_res_param</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.udm-load-ispell-data.html">udm_load_ispell_data</a></div> <div class="up"><a href="ref.mnogosearch.html">mnoGoSearch Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.udm-hash32" class="refentry"> <div class="refnamediv"> <h1 class="refname">udm_hash32</h1> <p class="verinfo">(PHP 4 >= 4.3.3, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0)</p><p class="refpurpose"><span class="refname">udm_hash32</span> — <span class="dc-title">Return Hash32 checksum of gived string</span></p> </div> <div class="refsect1 description" id="refsect1-function.udm-hash32-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><strong>udm_hash32</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$agent</code></span> , <span class="methodparam"><span class="type">string</span> <code class="parameter">$str</code></span> )</div> <p class="para rdfs-comment"> <span class="function"><strong>udm_hash32()</strong></span> will take a string <em><code class="parameter">str</code></em> and return a quite unique 32-bit hash number from it. </p> </div> <div class="refsect1 parameters" id="refsect1-function.udm-hash32-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">agent</code></em></span> <dd> <p class="para"> A link to Agent, received after call to <span class="function"><a href="function.udm-alloc-agent.html" class="function">udm_alloc_agent()</a></span>. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">str</code></em></span> <dd> <p class="para"> The input string. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.udm-hash32-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns a 32-bit hash number. </p> </div> <div class="refsect1 seealso" id="refsect1-function.udm-hash32-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.udm-alloc-agent.html" class="function" rel="rdfs-seeAlso">udm_alloc_agent()</a> - Allocate mnoGoSearch session</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.udm-get-res-param.html">udm_get_res_param</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.udm-load-ispell-data.html">udm_load_ispell_data</a></div> <div class="up"><a href="ref.mnogosearch.html">mnoGoSearch Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>