Php/docs/quickhashintstringhash.exists

来自菜鸟教程
跳转至:导航、​搜索

QuickHashIntStringHash::exists

(PECL quickhash >= Unknown)

QuickHashIntStringHash::existsThis method checks whether a key is part of the hash


说明

public QuickHashIntStringHash::exists ( int $key ) : bool

This method checks whether an entry with the provided key exists in the hash.


参数

key
The key of the entry to check for whether it exists in the hash.


返回值

Returns true when the entry was found, or false when the entry is not found.