Download src/php/php-src/ext/openssl/tests/bug65698.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/openssl/tests/bug65698.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/openssl/tests/bug65698.phpt
-
curl -L -o bug65698.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/openssl/tests/bug65698.phpt
382 Bytes
| --TEST-- | |
| Bug #65689 (GeneralizedTime format parsing) | |
| --EXTENSIONS-- | |
| openssl | |
| --FILE-- | |
| $crt = substr(__FILE__, 0, -4).'.crt'; | |
| $info = openssl_x509_parse("file://$crt"); | |
| var_dump($info["validFrom"], $info["validFrom_time_t"], $info["validTo"], $info["validTo_time_t"]); | |
| Done | |
| --EXPECTF-- | |
| string(15) "20090303125318Z" | |
| int(12360%d) | |
| string(15) "20240303125318Z" | |
| int(17094%d) | |
| Done | |