PHP » GoLang |
login |
register |
about
|
GoLang pht\HashTable::size
request it (334)
GoLang replacement for PHP's pht\HashTable::size
[edit | history]
pht\HashTable::size(PECL pht >= 0.0.1) pht\HashTable::size — Gets the size of the hash table Description
public int pht\HashTable::size
( void
)
Returns the current size of the hash table. This operation requires a pht\HashTable's mutex lock to be held if it is being used by multiple threads. ParametersThis function has no parameters. Return ValuesThe size of the hash table. Examples
Example #1 Getting a hash table's size
<?php The above example will output: int(2) |
more
Recently updated
more
Most requested
more
Last requests
|