Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

Constantes de version

OPENSSL_VERSION_TEXT (entier)
OPENSSL_VERSION_NUMBER (entier)

Note:

Ces constantes ont été ajoutées depuis PHP 5.2.0.

add a note add a note

User Contributed Notes 1 note

up
0
devel at sapphirepaw dot org
8 days ago
Example of the values on my system (Ubuntu Trusty):

<?php
var_dump
(OPENSSL_VERSION_TEXT);
// string(25) "OpenSSL 1.0.1f 6 Jan 2014"

var_dump(bin2hex(pack("N", OPENSSL_VERSION_NUMBER)));
// string(8) "1000106f"
?>

A different system with 1.0.1h-fips reports OPENSSL_VERSION_NUMBER of 0x1000108f, so I believe that the 06/08 correspond to the letters f/h respectively (no letter = 00, a = 01, etc.)  The final F is still a mystery.
To Top