title: What is the actual value of CURLOPT_HTTP_VERSION if it is set to 84? Does that correspond to CURL_HTTP_VERSION_1_0 or CURL_HTTP_VERSION_1_1?
body: <p>I am trying to find the value of the HTTP protocol that curl is using in a particular PHP application. I haven't been able to find a documented default for this.</p>
  
  <p>Following a code snippet from <a href="https://stackoverflow.com/questions/3880238/default-curl-option-values">this useful stackoverflow post (default-curl-option-values)</a> I was able to print out the values of the curl options just before doing the curl_exec.</p>
  
  <p>The result was <code>CURLOPT_HTTP_VERSION = 84</code>. However the three constants that we can use to set this are:</p>
  
  <pre><code>CURL_HTTP_VERSION_NONE = 0
  CURL_HTTP_VERSION_1_0 = 1
  CURL_HTTP_VERSION_1_1 = 2
  </code></pre>
  
  <p>Therefore the question is: What does a value of 84 imply? I am not seeing how the above constants can translate to 84 in some kind of bit combination? I could try <a href="https://stackoverflow.com/questions/866946/how-can-i-see-the-request-headers-made-by-curl-when-sending-a-request-to-the-ser">this posted alternate</a> way of seeing what curl is doing but I am still curious about how to read the option value.</p>