openssl_csr_get_subject

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Returns the subject of a CSR
<?php openssl_csr_get_subject(OpenSSLCertificateSigningRequest|string $csr, bool $short_names = true): array|false