function listDBA() {
echo "Available DBA handlers:<br>";
foreach (dba_handlers(true) as $handler_name => $handler_version) {
// clean the versions
$handler_version = str_replace('$', '', $handler_version);
echo " - $handler_name: $handler_version<br>";
}
}
Here is output on my PC
Available DBA handlers:
- cdb: 0.75, Revision: 1.10.2.1.2.5
- cdb_make: 0.75, Revision: 1.9.2.1.2.3
- db3: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
- inifile: 1.0, Revision: 1.14.2.1.2.6
- flatfile: 1.0, Revision: 1.14.2.1.2.3