title: PHP - How to see if a server supports TLS 1.0?
body: <p>I am writing a simple checker where you can enter a URL that would check if the URL entered is using TLS 1.0, 1.1 or 1.2. Essentially I want to show a message saying "Yoursite.com is using TLS 1.0. It is recommended to disable this."</p>
  
  <p>The problem is, I am only able to figure it out if I am the server making the call. Then I can use <a href="https://stackoverflow.com/questions/27904854/verify-if-curl-is-using-tls">this</a>. That allows you to write a Curl script, connect to howsmyssl.com and it would return what connection I used to connect. This is not what I want.</p>
  
  <p>I want to know how I can use PHP to connect to a URL, and see if that server supports TLS1.0, 1.1 or 1.2. </p>
  
  <p>Is there a way to do this?</p>