QuickHashIntHash::exists(PECL quickhash >= Unknown) QuickHashIntHash::exists — This method checks whether a key is part of the hash Описание
public bool QuickHashIntHash::exists
( int $key
)
This method checks whether an entry with the provided key exists in the hash. Список параметров
Возвращаемые значенияReturns TRUE when the entry was found, or FALSE when the entry is not found. Примеры
Пример #1 QuickHashIntHash::exists() example
<?phpРезультатом выполнения данного примера будет что-то подобное: Creating hash: 1263588703.0748 Adding elements: 1263588703.0757 Doing 1000 tests: 1263588703.7851 Done, 898 found: 1263588703.7897 |
||