Home
last modified time | relevance | path

Searched refs:curl_getinfo (Results 1 – 25 of 29) sorted by relevance

12

/php-src/ext/curl/tests/
H A Dcurl_copy_handle_variation2.phpt9 the only way to test if a option is set on a curl handle is using the curl_getinfo() function.
20 var_dump(curl_getinfo($ch) === curl_getinfo($ch2));
25 var_dump(curl_getinfo($ch) === curl_getinfo($ch2));
29 var_dump(curl_getinfo($ch) === curl_getinfo($ch2));
33 var_dump(curl_getinfo($ch) === curl_getinfo($ch2));
H A Dcurlopt_private.phpt10 var_dump($obj === curl_getinfo($curl, CURLINFO_PRIVATE));
13 var_dump($obj === curl_getinfo($curl2, CURLINFO_PRIVATE));
16 var_dump($obj === curl_getinfo($curl, CURLINFO_PRIVATE));
17 var_dump($obj2 === curl_getinfo($curl2, CURLINFO_PRIVATE));
H A Dcurl_basic_024.phpt2 Test curl_getinfo() function with CURLINFO_* from curl >= 7.52.0
17 var_dump(CURLPROTO_HTTP === curl_getinfo($ch, CURLINFO_PROTOCOL));
18 var_dump(0 === curl_getinfo($ch, CURLINFO_PROXY_SSL_VERIFYRESULT));
19 var_dump(curl_getinfo($ch, CURLINFO_SCHEME));
H A Dcurl_basic_023.phpt2 Test curl_getinfo() function with CURLINFO_HTTP_VERSION parameter
11 var_dump(0 === curl_getinfo($ch, CURLINFO_HTTP_VERSION));
19 var_dump(CURL_HTTP_VERSION_1_1 === curl_getinfo($ch, CURLINFO_HTTP_VERSION));
H A Dcurl_getinfo_CURLINFO_POSTTRANSFER_TIME_T.phpt21 $info = curl_getinfo($ch);
27 $info = curl_getinfo($ch);
30 var_dump(curl_getinfo($ch, CURLINFO_POSTTRANSFER_TIME_T) === $info['posttransfer_time_us']);
31 var_dump(curl_getinfo($ch, CURLINFO_POSTTRANSFER_TIME_T) > 0);
H A Dcurl_basic_027.phpt2 Test curl_getinfo() function with CURLINFO_* and CURLOPT_* from curl >= 7.84.0
16 var_dump(array_key_exists('capath', curl_getinfo($ch)));
17 var_dump(array_key_exists('cainfo', curl_getinfo($ch)));
H A Dbug46739.phpt2 Bug #46739 (array returned by curl_getinfo should contain content_type key)
13 $info = curl_getinfo($ch);
H A Dcurl_basic_020.phpt2 Test curl_getinfo() function with CURLINFO_HTTP_CODE parameter
16 var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE));
H A Dcurl_basic_021.phpt2 Test curl_getinfo() function with CURLINFO_CONTENT_TYPE parameter
16 var_dump(curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
H A Dcurl_handle_clone.phpt19 var_dump(curl_getinfo($ch1, CURLINFO_EFFECTIVE_URL) === curl_getinfo($ch2, CURLINFO_EFFECTIVE_URL));
H A Dcurl_basic_019.phpt2 Test curl_getinfo() function with CURLINFO_EFFECTIVE_URL parameter
17 $info = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
H A Dcurl_basic_022.phpt2 Test curl_getinfo() function with CURLINFO_COOKIELIST parameter
11 var_dump(curl_getinfo($ch, CURLINFO_COOKIELIST));
H A Dcurl_basic_025.phpt2 Test curl_getinfo() function with CURLINFO_* from curl >= 7.72.0
24 var_dump(curl_getinfo($ch, CURLINFO_EFFECTIVE_METHOD));
H A Dcurl_copy_handle_basic.phpt22 var_dump(curl_getinfo($ch) === curl_getinfo($ch2));
H A Dcurl_copy_handle_basic_009.phpt17 var_dump(strstr(curl_getinfo($ch, CURLINFO_HEADER_OUT), "\r", true));
20 var_dump(strstr(curl_getinfo($ch2, CURLINFO_HEADER_OUT), "\r", true));
H A Dcurl_copy_handle_variation1.phpt24 var_dump(curl_getinfo($ch) === curl_getinfo($ch2));
H A Dcurl_setopt_CURLOPT_ACCEPT_ENCODING.phpt21 echo curl_getinfo($ch, CURLINFO_HEADER_OUT);
26 echo curl_getinfo($ch, CURLINFO_HEADER_OUT);
H A Dcurl_basic_015.phpt11 var_dump($url == curl_getinfo($ch, CURLINFO_EFFECTIVE_URL));
H A Dbug52202.phpt14 var_dump(curl_getinfo($curl, CURLINFO_PRIVATE));
H A Dcurl_setopt_CURLOPT_DEBUGFUNCTION.phpt122 var_dump(curl_getinfo($ch, CURLINFO_HEADER_OUT));
124 var_dump(curl_getinfo($ch, CURLINFO_HEADER_OUT));
126 var_dump(curl_getinfo($ch, CURLINFO_HEADER_OUT));
128 var_dump(curl_getinfo($ch, CURLINFO_HEADER_OUT));
143 var_dump(curl_getinfo($ch, CURLINFO_HEADER_OUT));
161 var_dump(curl_getinfo($ch2, CURLINFO_HEADER_OUT));
H A Dcurl_basic_026.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.81.0
H A Dcurl_basic_030.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.87.0
H A Dbug64267.phpt31 var_dump(curl_getinfo($c, CURLINFO_RESPONSE_CODE));
H A Dbug79033.phpt18 var_dump(curl_getinfo($ch)["request_header"]);
H A Dcurl_basic_029.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.86.0

Completed in 18 milliseconds

12