ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:version

This is an old revision of the document!


version

Syntax
string[] version()

Description

The function returns the ADOdb version number.

Usage

Static usage

if (version_compare(ADOConnection::version(), '5.22.0', '>=') {
    // latest version specific code
} else {
    // backwards compatible code
}

With an active connection object

echo $db->version();
// 5.22.5
v5/reference/connection/version.1685873432.txt.gz · Last modified: by dregad