Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 25 of 174) sorted by relevance

1234567

/PHP-8.3/ext/curl/
H A Dconfig.w323 ARG_WITH("curl", "cURL support", "no");
7 var f = PHP_PHP_BUILD + "/include/curl/curlver.h";
16 if (CHECK_LIB("libcurl_a.lib;libcurl.lib", "curl", PHP_CURL) &&
17 CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_CURL") &&
18 SETUP_OPENSSL("curl", PHP_CURL) > 0 &&
19 CHECK_LIB("winmm.lib", "curl", PHP_CURL) &&
20 CHECK_LIB("wldap32.lib", "curl", PHP_CURL) &&
25 CHECK_LIB("normaliz.lib", "curl", PHP_CURL) &&
26 CHECK_LIB("libssh2.lib", "curl", PHP_CURL) &&
27 CHECK_LIB("nghttp2.lib", "curl", PHP_CURL))
[all …]
H A Dconfig.m41 PHP_ARG_WITH([curl],
3 [AS_HELP_STRING([--with-curl],
32 #include <curl/curl.h>
75 PHP_CHECK_LIBRARY(curl,curl_easy_perform,
84 PHP_NEW_EXTENSION(curl, interface.c multi.c share.c curl_file.c, $ext_shared)
85 PHP_INSTALL_HEADERS([ext/curl], [php_curl.h])
/PHP-8.3/ext/curl/tests/
H A Dbug52202.phpt4 curl
7 $curl = curl_init("http://www.google.com");
8 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
9 curl_setopt($curl, CURLOPT_PRIVATE, "123");
10 curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1);
11 curl_setopt($curl, CURLOPT_TIMEOUT, 1);
12 curl_exec($curl);
14 var_dump(curl_getinfo($curl, CURLINFO_PRIVATE));
H A Dbug77535.phpt4 curl
11 exit("skip: test may crash with curl < 8.1.0");
19 private $curl;
29 $this->curl = curl_init();
32 curl_setopt($this->curl, CURLOPT_HEADER, false);
33 curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, false);
34 curl_setopt($this->curl, CURLOPT_FAILONERROR, false);
35 curl_setopt($this->curl, CURLOPT_URL, 'https://localhost/serverpush');
36 curl_setopt($this->curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
40 curl_setopt($this->curl, CURLOPT_WRITEFUNCTION, function ($ch, $data) {
[all …]
H A Dcurlopt_private.phpt4 curl
7 $curl = curl_init("foobar");
9 curl_setopt($curl, CURLOPT_PRIVATE, $obj);
10 var_dump($obj === curl_getinfo($curl, CURLINFO_PRIVATE));
12 $curl2 = curl_copy_handle($curl);
16 var_dump($obj === curl_getinfo($curl, CURLINFO_PRIVATE));
H A Dbug62839.phpt4 curl
7 $curl = curl_init();
10 curl_setopt($curl, CURLOPT_FILE, $fd);
12 curl_copy_handle($curl);
H A Dcurl_write_file.phpt2 Test curl option CURLOPT_FILE
7 Writes the value 'test' to a temporary file. Use curl to access this file and store the output in a…
9 curl
13 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_write_return.phpt2 Test curl option CURLOPT_RETURNTRANSFER
7 Writes the value 'test' to a temporary file. Use curl to access this file and have it return the co…
10 curl
14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_write_stdout.phpt2 Test curl option CURLOPT_FILE with STDOUT handle
7 Writes the value 'test' to a temporary file. Use curl to access this file and store the output in a…
9 curl
13 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_write_callback.phpt2 Test curl option CURLOPT_WRITEFUNCTION
7 Writes the value 'test' to a temporary file. Use curl to access this file, passing the output into …
9 curl
19 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_setopt_array_basic.phpt7 curl
12 * Source: ext/curl/interface.c
13 * Documentation: http://wiki.php.net/qa/temp/ext/curl
33 // curl handler
36 // options for the curl handler
H A Dcurl_basic_026.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.81.0
4 curl
8 exit("skip: test works only with curl >= 7.81.0");
H A Dcurl_basic_025.phpt2 Test curl_getinfo() function with CURLINFO_* from curl >= 7.72.0
4 curl
8 exit("skip: test works only with curl >= 7.72.0");
H A Dcurl_basic_030.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.87.0
4 curl
8 exit("skip: test works only with curl >= 7.87.0");
H A Dcurl_copy_handle_basic_006.phpt7 curl
14 echo '*** Testing curl copy handle with User Agent ***' . "\n";
29 …exec($copy) since it causes char * inputs to be invalid (see also: http://curl.haxx.se/libcurl/c/c…
34 *** Testing curl copy handle with User Agent ***
H A Dcurl_reset.phpt4 curl
8 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
9 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_basic_029.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.86.0
4 curl
8 exit("skip: test works only with curl >= 7.86.0");
H A Dcurl_basic_024.phpt2 Test curl_getinfo() function with CURLINFO_* from curl >= 7.52.0
4 curl
8 exit("skip: test works only with curl >= 7.52.0");
H A Dcurl_basic_011.phpt6 curl
13 echo '*** Testing curl with cookie ***' . "\n";
29 *** Testing curl with cookie ***
H A Dcurl_basic_012.phpt6 curl
13 echo '*** Testing curl with HTTP/1.0 ***' . "\n";
29 *** Testing curl with HTTP/1.0 ***
H A Dcurl_basic_013.phpt6 curl
13 echo '*** Testing curl with HTTP/1.1 ***' . "\n";
29 *** Testing curl with HTTP/1.1 ***
H A Dcurl_basic_005.phpt7 curl
14 echo '*** Testing curl with user agent ***' . "\n";
30 *** Testing curl with user agent ***
H A Dcurl_basic_004.phpt7 curl
14 echo '*** Testing curl setting referer ***' . "\n";
30 *** Testing curl setting referer ***
H A Dcurl_basic_027.phpt2 Test curl_getinfo() function with CURLINFO_* and CURLOPT_* from curl >= 7.84.0
4 curl
8 exit("skip: test works only with curl >= 7.84.0");
H A Dcurl_basic_028.phpt2 Test curl_getinfo() function with CURLOPT_* from curl >= 7.85.0
6 curl
10 exit("skip: test works only with curl >= 7.85.0");

Completed in 65 milliseconds

1234567