QuickHashStringIntHash::getSize

(No version information available, might only be in Git)

QuickHashStringIntHash::getSizeReturns the number of elements in the hash

说明

public QuickHashStringIntHash::getSize ( void ) : int

Returns the number of elements in the hash.

参数

key

The key of the entry to add.

返回值

The number of elements in the hash.

范例

Example #1 QuickHashStringIntHash::getSize() example

<?php
$hash 
= new QuickHashStringIntHash);
var_dump$hash->add"two") );
var_dump$hash->add"three") );
var_dump$hash->getSize() );
?>

以上例程的输出类似于:

bool(true)
bool(true)
int(2)

相关文章
php eventutil returns the most recent socket error numberphp maxdb 函数 returns the total number of rows changed deleted or inserted by the last executed statementphp sqlite 函数 returns the number of fields in a result setphp svn 函数 returns the number of the youngest revision in the filesystemphp tidy 函数 returns the number of tidy warnings encountered for specified documentphp hyperwave api 函数 returns number of reasonsphp mongodb driver writeresult returns the number of documents inserted by an upsertphp oci collection returns the maximum number of elements in the collectionphp quickhashinthash returns the number of elements in the hashphp quickhashintset returns the number of elements in the setphp quickhashintstringhash returns the number of elements in the hashphp quickhashstringinthash returns the number of elements in the hashphp quickhashstringinthash this method returns a serialized version of the hashphp quickhashstringinthash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp quickhashstringinthash this method updates an entry in the hash with a new valuephp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp spldoublylinkedlist counts the number of elements in the doubly linked listphp svmmodel returns the number of classes the model was trained withphp ktaglib tag returns the track number from a id3 tag
关注编程学问公众号