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 — Efface une ligne dans une base DBA
dba_delete() efface l'entrée
spécifiée par la clé key,
dans la base identifiée par handle.
keyLa clé de l'entrée à effacer.
dbaUne instance de Dba\Connection, renvoyée par dba_open() ou dba_popen().
| Version | Description |
|---|---|
| 8.4.0 |
Le paramètre dba attend désormais une instance de Dba\Connection;
auparavant, une resource dba valide était attendue.
|
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.