<!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>Returns the maximum number of elements in the collection</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oci-collection.getelem.html">OCI-Collection::getElem</a></div> <div class="next" style="text-align: right; float: right;"><a href="oci-collection.size.html">OCI-Collection::size</a></div> <div class="up"><a href="class.OCI-Collection.html">OCI-Collection</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="oci-collection.max" class="refentry"> <div class="refnamediv"> <h1 class="refname">OCI-Collection::max</h1> <p class="verinfo">(PHP 5, PECL OCI8 >= 1.1.0)</p><p class="refpurpose"><span class="refname">OCI-Collection::max</span> — <span class="dc-title">Returns the maximum number of elements in the collection</span></p> </div> <div class="refsect1 description" id="refsect1-oci-collection.max-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><strong>OCI-Collection::max</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Returns the maximum number of elements in the collection. </p> </div> <div class="refsect1 returnvalues" id="refsect1-oci-collection.max-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the maximum number as an integer, or <strong><code>FALSE</code></strong> on errors. </p> <p class="para"> If the returned value is 0, then the number of elements is not limited. </p> </div> <div class="refsect1 seealso" id="refsect1-oci-collection.max-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="oci-collection.size.html" class="xref">OCI-Collection::size</a></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oci-collection.getelem.html">OCI-Collection::getElem</a></div> <div class="next" style="text-align: right; float: right;"><a href="oci-collection.size.html">OCI-Collection::size</a></div> <div class="up"><a href="class.OCI-Collection.html">OCI-Collection</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>