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