xref: /php-src/ext/curl/tests/bug71144.phpt (revision 41996e8d)
1--TEST--
2Bug #71144 (Segmentation fault when using cURL with ZTS)
3--DESCRIPTION--
4Since Curl 7.62, CURLOPT_DNS_USE_GLOBAL_CACHE has no effect, and is
5silently ignored.
6--EXTENSIONS--
7curl
8--FILE--
9<?php
10$ch = curl_init();
11var_dump(curl_setopt($ch, CURLOPT_DNS_USE_GLOBAL_CACHE, 1));
12?>
13--EXPECTF--
14bool(true)
15