function ServerInfo() { $info = ADODB_odbc::ServerInfo(); if (!$info['version'] && preg_match('/([0-9.]+)/', $info['description'], $matches)) { $info['version'] = $matches[1]; } return $info; }