php8.5
Home/ Manual/ dba / functions/ dba_firstkey

dba_firstkey

PHP function Edit on GitHub ✎

(PHP 4, PHP 5, PHP 7, PHP 8)

Fetch first key

Description

dba_firstkey(Dba\Connection $dba): string|false

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

Parameters

dba

Dba

Return Values

Returns the key on successFalseforfailure.

Changelog

VersionDescription

See Also

Source: reference/dba/functions/dba-firstkey.xml · from the official PHP manual (php/doc-en)