Download src/php/php-src/ext/curl/tests/bug71144.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/curl/tests/bug71144.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/curl/tests/bug71144.phpt
-
curl -L -o bug71144.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/curl/tests/bug71144.phpt
309 Bytes
| --TEST-- | |
| Bug #71144 (Segmentation fault when using cURL with ZTS) | |
| --DESCRIPTION-- | |
| Since Curl 7.62, CURLOPT_DNS_USE_GLOBAL_CACHE has no effect, and is | |
| silently ignored. | |
| --EXTENSIONS-- | |
| curl | |
| --FILE-- | |
| $ch = curl_init(); | |
| var_dump(curl_setopt($ch, CURLOPT_DNS_USE_GLOBAL_CACHE, 1)); | |
| --EXPECTF-- | |
| bool(true) | |