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
dbaDba
Return Values
Returns the key on successFalseforfailure.
Changelog
| Version | Description |
|---|
See Also
dba_nextkey()dba_key_split()- Example 2 in the DBA examples