Lines Matching refs:curl_setopt

25 curl_setopt($ch, CURLOPT_URL, "{$host}/get.inc?test=file");
26 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
27 curl_setopt($ch, CURLOPT_VERBOSE, 0);
28 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, function() {
32 curl_setopt($ch, CURLOPT_VERBOSE, 1);
36 curl_setopt($ch, CURLOPT_URL, "{$host}/get.inc?test=file");
37 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
38 curl_setopt($ch, CURLOPT_VERBOSE, 1);
40 curl_setopt($ch, CURLOPT_STDERR, $stderr);
49 curl_setopt($ch, CURLOPT_STDERR, $stderr);
52 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, function(CurlHandle $curlHandle, int $type, string…
82 var_dump(curl_setopt($ch, CURLINFO_HEADER_OUT, true));
83 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, null));
84 var_dump(curl_setopt($ch, CURLINFO_HEADER_OUT, true));
85 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, 'strlen'));
87 var_dump(curl_setopt($ch, CURLINFO_HEADER_OUT, true));
94 var_dump(curl_setopt($chCopy, CURLINFO_HEADER_OUT, true));
99 var_dump(curl_setopt($chCopy, CURLOPT_DEBUGFUNCTION, null));
100 var_dump(curl_setopt($chCopy, CURLINFO_HEADER_OUT, true));
104 var_dump(curl_setopt($ch, CURLINFO_HEADER_OUT, true));
105 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, null));
106 var_dump(curl_setopt($ch, CURLINFO_HEADER_OUT, true));
107 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, 'strlen'));
109 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, 'strlen'));
110 var_dump(curl_setopt($chCopy, CURLOPT_DEBUGFUNCTION, null));
111 var_dump(curl_setopt($chCopy, CURLINFO_HEADER_OUT, 1));
115 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, null));
116 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
121 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
123 var_dump(curl_setopt($ch, CURLINFO_HEADER_OUT, true));
125 var_dump(curl_setopt($ch, CURLOPT_DEBUGFUNCTION, static function() {}));
132 curl_setopt($ch, CURLOPT_DEBUGFUNCTION, static function() {
136 curl_setopt($ch, CURLOPT_VERBOSE, true);