/PHP-8.2/ext/curl/ |
H A D | multi.c | 62 php_curlm *mh; in PHP_FUNCTION() local 73 mh->multi = multi; in PHP_FUNCTION() 84 php_curlm *mh; in PHP_FUNCTION() local 154 php_curlm *mh; in PHP_FUNCTION() local 217 php_curlm *mh; in PHP_FUNCTION() local 278 php_curlm *mh; in PHP_FUNCTION() local 323 php_curlm *mh; in PHP_FUNCTION() local 349 php_curlm *mh; in PHP_FUNCTION() local 495 error = curl_multi_setopt(mh->multi, CURLMOPT_PUSHDATA, mh); in _php_curl_multi_setopt() 515 php_curlm *mh; in PHP_FUNCTION() local [all …]
|
/PHP-8.2/ext/curl/tests/ |
H A D | gh15547.phpt | 8 $mh = curl_multi_init(); 9 var_dump(curl_multi_select($mh, -2500000)); 10 var_dump(curl_multi_strerror(curl_multi_errno($mh))); 11 curl_multi_close($mh); 12 $mh = curl_multi_init(); 13 var_dump(curl_multi_select($mh, 2500000)); 14 var_dump(curl_multi_strerror(curl_multi_errno($mh))); 15 curl_multi_close($mh); 16 $mh = curl_multi_init(); 17 var_dump(curl_multi_select($mh, 1000000)); [all …]
|
H A D | curl_multi_close_reference.phpt | 7 $mh = curl_multi_init(); 8 $array = array($mh); 11 curl_multi_add_handle($mh, curl_init()); 12 curl_multi_add_handle($mh, curl_init()); 13 curl_multi_add_handle($mh, curl_init()); 14 curl_multi_add_handle($mh, curl_init());
|
H A D | curl_copy_handle_variation4.phpt | 24 $mh = curl_multi_init(); 25 curl_multi_add_handle($mh, $ch1); 26 curl_multi_add_handle($mh, $ch2); 28 $status = curl_multi_exec($mh, $active); 30 curl_multi_select($mh); 34 curl_multi_remove_handle($mh, $ch1); 35 curl_multi_remove_handle($mh, $ch2); 36 curl_multi_remove_handle($mh, $ch3); 37 curl_multi_close($mh);
|
H A D | curl_pushfunction.phpt | 23 $mh = curl_multi_init(); 25 curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); 26 curl_multi_setopt($mh, CURLMOPT_PUSHFUNCTION, $callback); 33 curl_multi_add_handle($mh, $ch); 38 $status = curl_multi_exec($mh, $active); 41 $info = curl_multi_info_read($mh); 46 curl_multi_remove_handle($mh, $handle); 53 curl_multi_close($mh);
|
H A D | curl_pushfunction_nonexistent_callback.phpt | 22 $mh = curl_multi_init(); 24 curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); 25 curl_multi_setopt($mh, CURLMOPT_PUSHFUNCTION, "nonexistent"); 32 curl_multi_add_handle($mh, $ch); 36 $status = curl_multi_exec($mh, $active); 39 $info = curl_multi_info_read($mh); 43 curl_multi_remove_handle($mh, $handle); 51 curl_multi_close($mh);
|
H A D | bug76675.phpt | 25 $mh = curl_multi_init(); 26 curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); 27 curl_multi_setopt($mh, CURLMOPT_PUSHFUNCTION, $callback); 34 curl_multi_add_handle($mh, $ch); 37 $status = curl_multi_exec($mh, $active); 39 $info = curl_multi_info_read($mh); 44 curl_multi_remove_handle($mh, $handle); 50 curl_multi_close($mh);
|
H A D | curl_basic_018.phpt | 40 $mh = curl_multi_init(); 43 curl_multi_add_handle($mh, $chs[0]); 44 curl_multi_add_handle($mh, $chs[1]); 45 curl_multi_add_handle($mh, $chs[2]); 50 curl_multi_exec($mh, $running); 59 curl_multi_remove_handle($mh, $chs[0]); 60 curl_multi_remove_handle($mh, $chs[1]); 61 curl_multi_remove_handle($mh, $chs[2]); 62 curl_multi_close($mh);
|
H A D | bug67643.phpt | 11 $mh = curl_multi_init(); 12 curl_multi_add_handle($mh, $ch); 16 curl_multi_exec($mh, $running); 21 curl_multi_remove_handle($mh, $ch); 22 curl_multi_close($mh);
|
H A D | curl_multi_getcontent_basic3.phpt | 32 $mh=curl_multi_init(); 35 curl_multi_add_handle($mh,$ch1); 36 curl_multi_add_handle($mh,$ch2); 41 curl_multi_exec($mh,$running); 48 curl_multi_remove_handle($mh,$ch1); 49 curl_multi_remove_handle($mh,$ch2); 50 curl_multi_close($mh);
|
H A D | curl_multi_init_basic.phpt | 15 $mh = curl_multi_init(); 16 var_dump($mh); 18 curl_multi_close($mh); 19 var_dump($mh);
|
H A D | bug77946.phpt | 11 $mh = curl_multi_init(); 15 curl_multi_add_handle($mh, $conn[$i]); 19 $status = curl_multi_exec($mh, $active); 20 $info = curl_multi_info_read($mh); 32 curl_multi_close($mh);
|
H A D | curl_multi_errno_strerror_001.phpt | 8 $mh = curl_multi_init(); 9 $errno = curl_multi_errno($mh); 14 curl_multi_setopt($mh, -1, -1); 19 $errno = curl_multi_errno($mh);
|
H A D | curl_multi_info_read.phpt | 2 array curl_multi_info_read ( resource $mh [, int &$msgs_in_queue = NULL ] ); 14 $mh = curl_multi_init(); 18 curl_multi_add_handle($mh, $conn[$i]); 22 $status = curl_multi_exec($mh, $active); 25 while ($info = curl_multi_info_read($mh)) {
|
H A D | bug77535.phpt | 18 private $mh; 23 if (false === $this->mh = curl_multi_init()) { 43 curl_multi_add_handle($this->mh, $this->curl); 48 $mrc = curl_multi_exec($this->mh, $stillRunning); 51 $info = curl_multi_info_read($this->mh); 69 curl_multi_setopt($this->mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); 70 curl_multi_setopt($this->mh, CURLMOPT_PUSHFUNCTION, $callback);
|
H A D | curl_multi_select_basic1.phpt | 12 $mh = curl_multi_init(); 13 echo curl_multi_select($mh)."\n"; 15 curl_multi_close($mh);
|
H A D | curl_multi_setopt_basic001.phpt | 8 $mh = curl_multi_init(); 9 var_dump(curl_multi_setopt($mh, CURLMOPT_PIPELINING, 0)); 12 curl_multi_setopt($mh, -1, 0);
|
H A D | curl_multi_add_handle_lifecycle.phpt | 19 $mh = curl_multi_init(); 26 if (curl_multi_add_handle($mh, $ch) == CURLM_OK) { 29 if (curl_multi_add_handle($mh, $ch) == CURLM_OK) { 38 curl_multi_remove_handle($mh, $ch);
|
H A D | curl_pause_001.phpt | 33 $mh = curl_multi_init(); 34 curl_multi_add_handle($mh, $ch); 36 $status = curl_multi_exec($mh, $active); 40 curl_multi_select($mh);
|
H A D | bug48203_multi.phpt | 41 $mh = curl_multi_init(); 43 curl_multi_add_handle($mh, $ch1); 44 curl_multi_add_handle($mh, $ch2); 48 curl_multi_exec($mh, $active); 51 curl_multi_remove_handle($mh, $ch1); 52 curl_multi_remove_handle($mh, $ch2); 53 curl_multi_close($mh);
|
H A D | bug71523.phpt | 17 $mh = curl_multi_init(); 22 curl_multi_add_handle($mh, $ch); 26 curl_multi_exec($mh, $active);
|