dba_list

(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)

dba_list — List all open database files

Description

function dba_list(): array

dba_list() list all open database files.

Parameters

This function has no parameters.

Return Values

An associative array, in the form id => filename, where id is the object ID of the Dba\Connection instance, as returned by spl_object_id().

Changelog

Version Description
8.4.2 The keys of the returned array are now object IDs of Dba\Connection instances.
8.4.0 The keys of the returned array are now sequential, zero-based indexes instead of resource IDs.