QuickHashIntStringHash::getSize
(PECL quickhash >= Unknown)
QuickHashIntStringHash::getSize — Returns the number of elements in the hash
Opis
public int QuickHashIntStringHash::getSize ( void
)
Returns the number of elements in the hash.
Zwracane wartości
The number of elements in the hash.
Przykłady
Przykład #1 QuickHashIntStringHash::getSize() example
<?php
$hash = new QuickHashIntStringHash( 8 );
var_dump( $hash->add( 2, "two" ) );
var_dump( $hash->add( 3, 5 ) );
var_dump( $hash->getSize() );
?>
Powyższy przykład wyświetli coś podobnego do:
bool(true) bool(true) int(2)
There are no user contributed notes for this page.
