Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 3219

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Show largest possible random value</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.fmod.html">fmod</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.hexdec.html">hexdec</a></div>
 <div class="up"><a href="ref.math.html">Math Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.getrandmax" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">getrandmax</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">getrandmax</span> &mdash; <span class="dc-title">Show largest possible random value</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.getrandmax-description">
  <h3 class="title">Description</h3>
   <div class="methodsynopsis dc-description">
    <span class="type">int</span> <span class="methodname"><strong>getrandmax</strong></span>
     ( <span class="methodparam">void</span>
    )</div>

  <p class="simpara">
   Returns the maximum value that can be returned by a call to
    <span class="function"><a href="function.rand.html" class="function">rand()</a></span>.
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.getrandmax-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   The largest possible random value returned by  <span class="function"><a href="function.rand.html" class="function">rand()</a></span>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.getrandmax-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.rand.html" class="function" rel="rdfs-seeAlso">rand()</a> - Generate a random integer</span></li>
    <li class="member"> <span class="function"><a href="function.srand.html" class="function" rel="rdfs-seeAlso">srand()</a> - Seed the random number generator</span></li>
    <li class="member"> <span class="function"><a href="function.mt-getrandmax.html" class="function" rel="rdfs-seeAlso">mt_getrandmax()</a> - Show largest possible random value</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.fmod.html">fmod</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.hexdec.html">hexdec</a></div>
 <div class="up"><a href="ref.math.html">Math Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>