QuickHashIntSet::getSize

(PECL quickhash >= Unknown)

QuickHashIntSet::getSizeReturns the number of elements in the set

˵��

publicQuickHashIntSet::getSize ( void ) : int

Returns the number of elements in the set.

����

key

The key of the entry to add.

����ֵ

The number of elements in the set.

����

Example #1 QuickHashIntSet::getSize() example

<?php
$set 
= new QuickHashIntSet);
var_dump$set->add) );
var_dump$set->add) );
var_dump$set->getSize() );
?>

�������̵���������ڣ�

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