I've got a server Apache/2.2.22 (Debian) with PHP/5.4.45-0+deb7u5.
I need to get a php environment variable that specifies which SSL protocol version is used between client and server (I mean TLS 1.1, TLS 1.2 etc.).
So, I will use that variable in a script to get different options using TLS 1.1 or TLS 1.2 etc...
That server has got OpenSSL/1.0.1t.