002+ bool(false)
003+ bool(false)
002- resource(%d) of type (OpenSSL key)
004- Warning: openssl_pkey_new(): Unknown elliptic curve (short) name invalid_cuve_name in %s on line %d
005- bool(false)
006- int(384)
007- int(215)
008- string(9) "secp384r1"
005+ Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key) must be of type resource, bool given in %s/ecc.php:18
006+ Stack trace:
007+ #0 %s/ecc.php(18): openssl_pkey_get_details(false)
008+ #1 {main}
009+ thrown in %s/ecc.php on line 18
009- bool(true)
010- resource(%d) of type (OpenSSL key)
011- bool(true)
012- Testing openssl_csr_new with key generation
013- NULL
014- resource(%d) of type (OpenSSL key)
015- Testing openssl_csr_new with existing ecc key
016- resource(%d) of type (OpenSSL X.509 CSR)
017- bool(false)
018- array(1) {
019- ["d"]=>
020- string(%d) "%a"
021- }
022- resource(%d) of type (OpenSSL X.509)
023- Testing openssl_x509_check_private_key
024- bool(true)
025- bool(false)
026- Testing openssl_get_curve_names
027- bool(true)
028- Found secp384r1 in curve names