-
-
Save anonymous/506e7818d1a7d7f4d687c5436cbd8ac8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$c = curl_init(); | |
curl_setopt($c, CURLOPT_URL, "https://www.howsmyssl.com/a/check"); | |
curl_setopt($c, CURLOPT_RETURNTRANSFER, true); | |
$r = json_decode(curl_exec($c)); | |
curl_close($c); | |
echo $r->tls_version . "\n";' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment