PHP Database (dbm-style) Abstraction Layer Functions

EditRocket provides the following information on Database (dbm-style) Abstraction Layer functions in the PHP source code builder.

void dba_close ( resource $handle ) - dba_close() closes the established database and frees all resources of the specified database handle.

bool dba_delete ( string $key , resource $handle ) - dba_delete() deletes the specified entry from the database.

bool dba_exists ( string $key , resource $handle ) - dba_exists() checks whether the specified key exists in the database.

string dba_fetch ( string $key , resource $handle ) -

string dba_firstkey ( resource $handle ) - dba_firstkey() returns the first key of the database and resets the internal key pointer. This permits a linear search through the whole database.

array dba_handlers ([ bool $full_info ] ) - dba_handlers() list all the handlers supported by this extension.

bool dba_insert ( string $key , string $value , resource $handle ) - dba_insert() inserts the entry described with key and value into the database.

mixed dba_key_split ( mixed $key ) - dba_key_split() splits a key (string representation) into an array representation.

array dba_list ( void ) - dba_list() list all open database files.

string dba_nextkey ( resource $handle ) - dba_nextkey() returns the next key of the database and advances the internal key pointer.

resource dba_open ( string $path , string $mode [, string $handler [, mixed $... ]] ) - dba_open() establishes a database instance for path with mode using handler.

bool dba_optimize ( resource $handle ) - dba_optimize() optimizes the underlying database.

resource dba_popen ( string $path , string $mode [, string $handler [, mixed $... ]] ) - dba_popen() establishes a persistent database instance for path with mode using handler.

bool dba_replace ( string $key , string $value , resource $handle ) - dba_replace() replaces or inserts the entry described with key and value into the database specified by handle.

bool dba_sync ( resource $handle ) - dba_sync() synchronizes the database. This will probably trigger a physical write to the disk, if supported.