Default SSL/TLS in Different PHP Versions
18 Jun 2015How’s My SSL is neat. So is PsySH. Here’s how recent versions of PHP (via Homebrew) plus PHP 7 stack up:
PHP 5.5:
Psy Shell v0.5.0-dev (PHP 5.5.25 — cli) by Justin Hileman
>>> json_decode(file_get_contents('https://www.howsmyssl.com/a/check'))->rating;
=> "Bad"
PHP 5.6:
Psy Shell v0.5.0-dev (PHP 5.6.9 — cli) by Justin Hileman
>>> json_decode(file_get_contents('https://www.howsmyssl.com/a/check'))->rating;
=> "Probably Okay"
PHP 7:
Psy Shell v0.5.0-dev (PHP 7.0.0-dev — cli) by Justin Hileman
>>> json_decode(file_get_contents('https://www.howsmyssl.com/a/check'))->rating;
=> "Probably Okay"