The howsmyssl.com website provides you the option to test TLS version used by your browser or PHP script. Put the below PHP script on your website document root and access in a web browser. This will return the TLS version used by your script to connect remote application.
$ch = curl_init('https://www.howsmyssl.com/a/check');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec($ch);
$json = json_decode($data);
echo "<h1>Your TLS version is: " . $json->tls_version . "</h1>\n";
I have written this in a tls_test.php script and then accessed in a web browser. The result shows the PHP is using TLS 1.2. If your application is using lower version by default, then you can force PHP to use TLS 1.2 with cURL using this tutorial.