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 — Löscht den zum angegebenen Schlüssel gehörigen DBA-Eintrag
dba_delete() löscht den angegebenen Eintrag aus der Datenbank.
keyDer Schlüssel des zu löschenden Eintrags.
dbaEine von dba_open() oder dba_popen() zurückgegebene Instanz von Dba\Connection.
| Version | Beschreibung |
|---|---|
| 8.4.0 |
Der Parameter dba erwartet nun eine Instanz von Dba\Connection;
zuvor wurde eine gültige dba-Ressource erwartet.
|
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.