concrete/src/Service/Detector/HTTP/ApacheDetector.php
private function detectFromPHPInfo($value)
    {
        $result = null;
        if (is_string($value) && preg_match('/\bApache\/(\d+(\.\d+)+)/i', $value, $m)) {
            $result = $m[1];
        }

        return $result;
    }
private function detectFromPHPInfo($value)
    {
        $result = null;
        if (is_string($value) && preg_match('/\bApache\/(\d+(\.\d+)+)/i', $value, $m)) {
            $result = $m[1];
        }

        return $result;
    }
private function detectFromPHPInfo ( $ value ) { $ result = null ; if ( is_string ( $ value ) && preg_match ( '/\bApache\/(\d+(\.\d+)+)/i' , $ value , $ m ) ) { $ result = $ m [ 1 ] ; } return $ result ; }
Detect using PHPInfo.

@param string $value

@return null|string
Detect using PHPInfo .