VersionInformation
class VersionInformation (View source)
Responsible for retrieving version information and notifying about latest version
Methods
Returns information with latest version from phpmyadmin.net
Calculates numerical equivalent of phpMyAdmin version string
Returns the version and date of the latest phpMyAdmin version compatible with the available PHP and MySQL versions
Checks whether PHP or MySQL version meets supplied version condition
Returns the PHP version
Returns the MySQL version if connected to a database
Details
array|null
getLatestVersions()
Returns information with latest version from phpmyadmin.net
int
versionToInt(string $version)
Calculates numerical equivalent of phpMyAdmin version string
Release|null
getLatestCompatibleVersion(array $releases)
Returns the version and date of the latest phpMyAdmin version compatible with the available PHP and MySQL versions
bool
evaluateVersionCondition(string $type, string $condition)
Checks whether PHP or MySQL version meets supplied version condition
protected string
getPHPVersion()
Returns the PHP version
protected string|null
getMySQLVersion()
Returns the MySQL version if connected to a database