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.
(PHP 4, PHP 5, PHP 7, PHP 8)
dba_delete — キーが指す DBA エントリを削除する
成功した場合に true
を、失敗した場合に false
を返します。
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.