src/Helpers/RequirementsChecker.php
private static function getPhpVersionInfo()
    {
        $currentVersionFull = PHP_VERSION;
        preg_match("#^\d+(\.\d+)*#", $currentVersionFull, $filtered);
        $currentVersion = $filtered[0];

        return [
            'full' => $currentVersionFull,
            'version' => $currentVersion
        ];
    }
private static function getPhpVersionInfo()
    {
        $currentVersionFull = PHP_VERSION;
        preg_match("#^\d+(\.\d+)*#", $currentVersionFull, $filtered);
        $currentVersion = $filtered[0];

        return [
            'full' => $currentVersionFull,
            'version' => $currentVersion
        ];
    }
private static function getPhpVersionInfo ( ) { $ currentVersionFull = PHP_VERSION ; preg_match ( "#^\d+(\.\d+)*#" , $ currentVersionFull , $ filtered ) ; $ currentVersion = $ filtered [ 0 ] ; return [ 'full' => $ currentVersionFull , 'version' => $ currentVersion ] ; }
Get current Php version information

@return array
Get current Php version information