Checks if the given PHP extension is available and its version matches the given one.
public checkPhpExtensionVersion ( string $extensionName, string $version, string $compare = '>=' ) : boolean | ||
$extensionName | string | PHP extension name. |
$version | string | required PHP extension version. |
$compare | string | comparison operator, by default '>=' |
return | boolean | if PHP extension version matches. |