odbc_data_source

PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
odbc_data_source - Returns information about available DSNs
Manual
Code Examples

Example #1 List available DSNs

Result: Array ( [server] => dsn [description] => ODBC Driver 17 for SQL Server ) Array ( [server] => other_dsn [description] => Microsoft Access Driver (*.mdb, *.accdb) )
PHP Version: