public static function create($curlResponse, $headerSize) { 
        $headers = substr($curlResponse, 0, $headerSize);
        
        return function_exists('http_parse_headers') ? http_parse_headers($headers) : HTTPHeadersParser::parse($headers);
    }
public static function create($curlResponse, $headerSize) { 
        $headers = substr($curlResponse, 0, $headerSize);
        
        return function_exists('http_parse_headers') ? http_parse_headers($headers) : HTTPHeadersParser::parse($headers);
    }
public static function create ( $ curlResponse , $ headerSize ) { $ headers = substr ( $ curlResponse , 0 , $ headerSize ) ; return function_exists ( 'http_parse_headers' ) ? http_parse_headers ( $ headers ) : HTTPHeadersParser :: parse ( $ headers ) ; }
Creates Header array from a Response string

@see    https://pecl.php.net/
@param  string $curlResponse
@param  string $headerSize
@return array
Creates Header array from a Response string