Download src/php/php-src/ext/openssl/tests/bug11054.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/openssl/tests/bug11054.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/openssl/tests/bug11054.phpt
-
curl -L -o bug11054.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/openssl/tests/bug11054.phpt
299 Bytes
| --TEST-- | |
| Bug #11054: Calling with a PEM public key results in error | |
| --EXTENSIONS-- | |
| openssl | |
| --FILE-- | |
| $key_file_name = __DIR__ . '/bug11054.pem'; | |
| $key_content = file_get_contents($key_file_name); | |
| openssl_get_publickey($key_content); | |
| var_dump(openssl_error_string()); | |
| --EXPECT-- | |
| bool(false) | |