Note that the memory is lost after doing this. If you had a key 'foo' with a value of 1000 bytes, that 1000 bytes is lost, and the DB file size will reflect this.
dba_delete
(PHP 4, PHP 5)
dba_delete — キーが指す DBA エントリを削除する
説明
bool dba_delete
( string
$key
, resource $handle
)dba_delete() は、指定されたエントリを データベースから削除します。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- dba_exists() - キーが存在するかどうかを確認する
- dba_fetch() - キーが指すデータを取得する
- dba_insert() - エントリを挿入する
- dba_replace() - エントリを置換または挿入する
swain at panix dot com ¶
11 years ago
