array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'quickhashinthash.getsize.php', 1 => 'QuickHashIntHash::getSize', 2 => 'Returns the number of elements in the hash', ), 'up' => array ( 0 => 'class.quickhashinthash.php', 1 => 'QuickHashIntHash', ), 'prev' => array ( 0 => 'quickhashinthash.get.php', 1 => 'QuickHashIntHash::get', ), 'next' => array ( 0 => 'quickhashinthash.loadfromfile.php', 1 => 'QuickHashIntHash::loadFromFile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/quickhash/quickhashinthash/getsize.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL quickhash >= Unknown)
QuickHashIntHash::getSize — Returns the number of elements in the hash
У цієї функції немає параметрів.
The number of elements in the hash.
Приклад #1 QuickHashIntHash::getSize() example
<?php
$hash = new QuickHashIntHash( 8 );
var_dump( $hash->add( 2 ) );
var_dump( $hash->add( 3, 5 ) );
var_dump( $hash->getSize() );
?>
Поданий вище приклад виведе щось схоже на:
bool(true) bool(true) int(2)