private static function getAuto()
    {
        if (!ini_get('open_basedir') && self::isFopenAvailable()) {
            return self::getFopen(func_get_args());
        }

        if (self::isCurlAvailable()) {
            return self::getCurl(func_get_args());
        }

        return null;
    }
private static function getAuto()
    {
        if (!ini_get('open_basedir') && self::isFopenAvailable()) {
            return self::getFopen(func_get_args());
        }

        if (self::isCurlAvailable()) {
            return self::getCurl(func_get_args());
        }

        return null;
    }
private static function getAuto ( ) { if ( ! ini_get ( 'open_basedir' ) && self :: isFopenAvailable ( ) ) { return self :: getFopen ( func_get_args ( ) ) ; } if ( self :: isCurlAvailable ( ) ) { return self :: getCurl ( func_get_args ( ) ) ; } return null ; }
Automatically picks the preferred method

@return string The response of the request
Automatically picks the preferred method