©
本文档使用 PHP中文网手册 发布
OPENSSL_VERSION_TEXT
( string )
OPENSSL_VERSION_NUMBER
( integer )
Note:
These constants were added in 5.2.0.
[#1] sebastian.goendoer [2015-08-19 08:06:53]
<?php
echo "openssl version text: " . OPENSSL_VERSION_TEXT . "\n";
echo "openssl version number: " . OPENSSL_VERSION_NUMBER . "\n";
?>
will output something like:
openssl version text: OpenSSL 1.0.2d 9 Jul 2015
openssl version number: 268443727
see also: https://wiki.openssl.org/index.php/Manual:OPENSSL_VERSION_NUMBER(3)