<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ocicollection.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'ocicollection.max.php',
    1 => 'OCICollection::max',
    2 => 'Returns the maximum number of elements in the collection',
  ),
  'up' => 
  array (
    0 => 'class.ocicollection.php',
    1 => 'OCICollection',
  ),
  'prev' => 
  array (
    0 => 'ocicollection.getelem.php',
    1 => 'OCICollection::getElem',
  ),
  'next' => 
  array (
    0 => 'ocicollection.size.php',
    1 => 'OCICollection::size',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/oci8/ocicollection/max.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ocicollection.max" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OCICollection::max</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">OCICollection::max</span> &mdash; <span class="dc-title">Returns the maximum number of elements in the collection</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-ocicollection.max-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>OCICollection::max</strong></span>(): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Returns the maximum number of elements in the collection.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-ocicollection.max-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-ocicollection.max-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the maximum number as an integer, or <strong><code><a href="reserved.constants.php#constant.false">false</a></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 changelog" id="refsect1-ocicollection.max-changelog">
  <h3 class="title">更新日志</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>版本</th>
      <th>说明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0, PECL OCI8 3.0.0</td>
      <td>
       The <span class="classname"><strong class="classname">OCI-Collection</strong></span> class was renamed to
       <span class="classname"><a href="class.ocicollection.php" class="classname">OCICollection</a></span> to align with PHP naming standards.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-ocicollection.max-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><a href="ocicollection.size.php" class="xref">OCICollection::size</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>