array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'class.countable.php', 1 => 'Countable', ), 'up' => array ( 0 => 'spl.interfaces.php', 1 => 'Interfaces', ), 'prev' => array ( 0 => 'spl.interfaces.php', 1 => 'Interfaces', ), 'next' => array ( 0 => 'countable.count.php', 1 => 'Countable::count', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/spl/countable.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.countable.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Les classes qui implémentent l'interface Countable peuvent être utilisées avec la fonction count().