dbmexists

(PHP 3, PHP 4, PECL)

dbmexists -- Tells if a value exists for a key in a DBM database

说明

bool dbmexists ( resource dbm_identifier, string key )

Returns TRUE if there is a value associated with the key.

参数

dbm_identifier

The DBM link identifier, returned by dbmopen().

key

The key, as a string

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见

dbmfetch()