/PHP-7.3/ext/standard/tests/file/ |
H A D | bug52820.phpt | 11 curl_setopt($handle, CURLOPT_VERBOSE, true); 12 curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); 13 if (!curl_setopt($handle, CURLOPT_STDERR, fopen("php://memory", "w+"))) 19 curl_setopt($handle, CURLOPT_VERBOSE, true); 20 curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); 21 curl_setopt($handle, CURLOPT_STDERR, $o = fopen($url, "w+"));
|
/PHP-7.3/ext/curl/tests/ |
H A D | curl_multi_getcontent_error4.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.… 21 curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true); 22 curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); 53 Warning: curl_setopt() expects parameter 1 to be resource, null given in %s on line %d 57 Warning: curl_setopt() expects parameter 1 to be resource, null given in %s on line %d
|
H A D | bug69316.phpt | 14 curl_setopt($ch, CURLOPT_COOKIE, str_repeat("a", $FILE_size - 1)); 25 curl_setopt($ch, CURLOPT_BUFFERSIZE, 10); 26 curl_setopt($ch, CURLOPT_HEADERFUNCTION, "hdr_callback"); 27 curl_setopt($ch, CURLOPT_FILE, $f_file); 28 curl_setopt($ch, CURLOPT_URL, $url);
|
H A D | curl_copy_handle_basic_008.phpt | 13 curl_setopt($ch, CURLOPT_NOPROGRESS, 0); 14 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 15 curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, function() { });
|
H A D | curl_basic_011.phpt | 9 /* Prototype : bool curl_setopt(resource ch, int option, mixed value) 25 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 26 curl_setopt($ch, CURLOPT_COOKIE, 'foo=bar'); 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_012.phpt | 9 /* Prototype : bool curl_setopt(resource ch, int option, mixed value) 25 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 26 curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_013.phpt | 9 /* Prototype : bool curl_setopt(resource ch, int option, mixed value) 25 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 26 curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | bug46711.phpt | 2 Bug #46711 (lost memory when foreach is used for values passed to curl_setopt()) 18 curl_setopt( $ch, CURLOPT_AUTOREFERER , TRUE ); 21 curl_setopt( $ch, $option, $value );
|
H A D | curl_basic_005.phpt | 10 /* Prototype : bool curl_setopt(resource ch, int option, mixed value) 26 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 27 curl_setopt($ch, CURLOPT_USERAGENT, 'cURL phpt'); 28 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_multi_getcontent_error2.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.… 21 curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true); 22 curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);
|
H A D | curl_copy_handle_basic_002.phpt | 19 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 20 curl_setopt($ch, CURLOPT_POST, 1); 21 curl_setopt($ch, CURLOPT_POSTFIELDS, "Hello=World&Foo=Bar&Person=John%20Doe"); 22 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_copy_handle_basic_005.phpt | 20 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 21 curl_setopt($ch, CURLOPT_POST, 1); 22 curl_setopt($ch, CURLOPT_POSTFIELDS, "Hello=World&Foo=Bar&Person=John%20Doe"); 23 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_multi_getcontent_error1.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.… 21 curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true); 22 curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);
|
H A D | curl_basic_004.phpt | 10 /* Prototype : bool curl_setopt(resource ch, int option, mixed value) 26 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 27 curl_setopt($ch, CURLOPT_REFERER, 'http://www.refer.er'); 28 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_multi_getcontent_basic3.phpt | 19 curl_setopt($ch1, CURLOPT_URL, "{$host}/get.php?test=getpost&get_param=Hello%20World"); 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.… 21 curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true); 22 curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);
|
H A D | curl_multi_getcontent_error3.phpt | 19 …curl_setopt($ch1, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata1.… 20 …curl_setopt($ch2, CURLOPT_URL, "file://".dirname(__FILE__). DIRECTORY_SEPARATOR . "curl_testdata2.… 21 curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true); 22 curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);
|
H A D | curl_setopt_CURLOPT_READFUNCTION.phpt | 31 curl_setopt($oCurl, CURLOPT_URL, $sWriteUrl); 32 curl_setopt($oCurl, CURLOPT_UPLOAD, 1); 33 curl_setopt($oCurl, CURLOPT_READFUNCTION, "custom_readfunction" ); 34 curl_setopt($oCurl, CURLOPT_INFILE, $hReadHandle );
|
H A D | curl_reset.phpt | 20 curl_setopt($ch, CURLOPT_FILE, $testfile_fp); 21 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file); 25 curl_setopt($ch, CURLOPT_URL, 'file://' . $log_file);
|
H A D | curl_multi_segfault.phpt | 22 curl_setopt ( $ch , CURLOPT_URL, $url ); 23 curl_setopt ( $ch , CURLOPT_RETURNTRANSFER, 1 ); 26 curl_setopt ( $ch , CURLOPT_FTP_USE_EPSV, 0 ); 27 curl_setopt ( $ch , CURLOPT_FTP_SKIP_PASV_IP, 1 );
|
H A D | bug79741.phpt | 2 Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties 11 curl_setopt($ch, CURLOPT_POSTFIELDS, new Test);
|
H A D | curl_writeheader_callback.phpt | 23 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 24 curl_setopt($ch, CURLOPT_HEADERFUNCTION, 'curl_header_callback'); 25 curl_setopt($ch, CURLOPT_URL, $host);
|
H A D | bug48203.phpt | 17 curl_setopt($ch, CURLOPT_VERBOSE, 1); 18 curl_setopt($ch, CURLOPT_STDERR, $fp); 19 curl_setopt($ch, CURLOPT_URL, curl_cli_server_start());
|
H A D | bug48203-win32.phpt | 17 curl_setopt($ch, CURLOPT_VERBOSE, 1); 18 curl_setopt($ch, CURLOPT_STDERR, $fp); 19 curl_setopt($ch, CURLOPT_URL, curl_cli_server_start());
|
H A D | curl_file_deleted_before_curl_close.phpt | 21 curl_setopt($ch, CURLOPT_STDERR, $handle); 22 curl_setopt($ch, CURLOPT_VERBOSE, 1); 23 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
H A D | bug52827.phpt | 2 Bug #52827 (curl_setopt with CURLOPT_STDERR erroneously increments the resource refcount) 17 * cast to a FILE* handle in curl_setopt already 28 curl_setopt($handle, CURLOPT_STDERR, $s);
|