openssl_pkcs12_read()
The openssl_pkcs12_read() function reads a PKCS#12 file and extracts the certificates and private key. This is useful for importing PKCS#12 files.