protected static function BlacklistPhp72Versions::getPhpVersion in Automatic Updates 7
Get the PHP version.
Return value
string The current php version.
1 call to BlacklistPhp72Versions::getPhpVersion()
- BlacklistPhp72Versions::run in ReadinessCheckers/
BlacklistPhp72Versions.php - Run check.
File
- ReadinessCheckers/
BlacklistPhp72Versions.php, line 31
Class
- BlacklistPhp72Versions
- Blacklisted PHP 7.2 version checker.
Code
protected static function getPhpVersion() {
return PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION;
}