(PHP 7 >= 7.2.0)
openssl_pkcs7_read — Export the PKCS7 file to an array of PEM certificates
$infilename
   , array &$certs
   ) : bool
This function is currently not documented; only its argument list is available.
infilename
certs
   Returns TRUE on success or FALSE on failure.