(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)
openssl_x509_read — Parse an X.509 certificate and return an object for it
   openssl_x509_read() parses the certificate supplied by
   certificate and returns an OpenSSLCertificate object for
   it.
  
   Returns an OpenSSLCertificate on success or false on failure.
  
| Version | Description | 
|---|---|
| 8.0.0 | On success, this function returns an OpenSSLCertificate instance now;
       previously, a resource of type OpenSSL X.509was returned. | 
| 8.0.0 | certificateaccepts an OpenSSLCertificate instance now;
       previously, a resource of typeOpenSSL X.509was accepted. |