<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.globiterator.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'globiterator.count.php',
    1 => 'GlobIterator::count',
    2 => 'Get the number of directories and files',
  ),
  'up' => 
  array (
    0 => 'class.globiterator.php',
    1 => 'GlobIterator',
  ),
  'prev' => 
  array (
    0 => 'globiterator.construct.php',
    1 => 'GlobIterator::__construct',
  ),
  'next' => 
  array (
    0 => 'class.infiniteiterator.php',
    1 => 'InfiniteIterator',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/globiterator/count.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="globiterator.count" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GlobIterator::count</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">GlobIterator::count</span> &mdash; <span class="dc-title">Get the number of directories and files</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-globiterator.count-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>GlobIterator::count</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Gets the number of directories and files found by
   the glob expression.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-globiterator.count-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">Bu işlevin bağımsız değişkeni yoktur.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-globiterator.count-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   The number of returned directories and files, as an
   <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-globiterator.count-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 <span class="methodname"><strong>GlobIterator::count()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$iterator </span><span style="color: #007700">= new </span><span style="color: #0000BB">GlobIterator</span><span style="color: #007700">(</span><span style="color: #DD0000">'*.xml'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Matched %d item(s)\r\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">$iterator</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">count</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>
Yukarıdaki örnek şuna benzer bir çıktı üretir:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Matched 8 item(s)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-globiterator.count-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="globiterator.construct.php" class="methodname" rel="rdfs-seeAlso">GlobIterator::__construct()</a> - Construct a directory using glob</span></li>
    <li><span class="function"><a href="function.count.php" class="function" rel="rdfs-seeAlso">count()</a> - Bir dizideki veya bir Countable nesnesindeki eleman sayısını d&ouml;nd&uuml;r&uuml;r</span></li>
    <li><span class="function"><a href="function.glob.php" class="function" rel="rdfs-seeAlso">glob()</a> - Bir kalıpla eşleşen dosya yollarını bulur</span></li>
   </ul>
  </p>
 </div>


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