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