Home
last modified time | relevance | path

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

12345

/PHP-7.0/ext/curl/tests/
H A Dbug52202.phpt5 if (!extension_loaded('curl')) exit("skip curl extension not loaded");
9 $curl = curl_init("http://www.google.com");
10 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
11 curl_setopt($curl, CURLOPT_PRIVATE, "123");
12 curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1);
13 curl_setopt($curl, CURLOPT_TIMEOUT, 1);
14 curl_exec($curl);
16 var_dump(curl_getinfo($curl, CURLINFO_PRIVATE));
H A Dbug62839.phpt4 <?php if (!extension_loaded("curl")) print "skip";
8 $curl = curl_init();
11 curl_setopt($curl, CURLOPT_FILE, $fd);
13 curl_copy_handle($curl);
H A Dbug48514.phpt6 if (!extension_loaded('curl')) {
7 exit("skip curl extension not loaded");
24 resource(%d) of type (curl)
25 %string|unicode%(4) "curl"
H A Dcurl_multi_setopt_basic001.phpt5 if (!extension_loaded("curl")) {
6 exit("skip curl extension not loaded");
10 exit("skip: test works only with curl >= 7.16.0");
24 Warning: curl_multi_setopt(): Invalid curl multi configuration option in %s on line %d
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 <?php if (!extension_loaded("curl")) print "skip"; ?>
13 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dbug65646_open_basedir_old.phpt2 …-enable CURLOPT_FOLLOWLOCATION with open_basedir or safe_mode): open_basedir enabled; curl < 7.19.4
7 if (!extension_loaded('curl')) exit("skip curl extension not loaded");
8 if (version_compare(curl_version()['version'], '7.19.4', '>=')) exit("skip curl version is too new"…
H A Dcurl_basic_014.phpt6 <?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>
14 resource(%d) of type (curl)
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 <?php if (!extension_loaded("curl")) print "skip"; ?>
19 $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 <?php if (!extension_loaded("curl")) print "skip"; ?>
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 <?php if (!extension_loaded("curl")) print "skip"; ?>
13 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dcurl_multi_strerror_001.phpt5 if (!extension_loaded("curl")) {
6 exit("skip curl extension not loaded");
10 exit("skip: test works only with curl >= 7.12.0");
H A Dbug65646_open_basedir_new.phpt2 …enable CURLOPT_FOLLOWLOCATION with open_basedir or safe_mode): open_basedir enabled; curl >= 7.19.4
7 if (!extension_loaded('curl')) exit("skip curl extension not loaded");
8 if (version_compare(curl_version()['version'], '7.19.4', '<')) exit("skip curl version is too old");
H A Dcurl_share_setopt_basic001.phpt5 if (!extension_loaded("curl")) {
6 exit("skip curl extension not loaded");
22 Warning: curl_share_setopt(): Invalid curl share configuration option in %s on line %d
H A Dcurl_strerror_001.phpt5 if (!extension_loaded("curl")) {
6 exit("skip curl extension not loaded");
10 exit("skip: test works only with curl >= 7.12.0");
H A Dbug45161.phpt2 Bug #45161 (Reusing a curl handle leaks memory)
8 if (!extension_loaded("curl")) {
9 exit("skip curl extension not loaded");
13 exit("skip: test works only with curl >= 7.17.0");
H A Dcurl_escape.phpt5 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
9 exit("skip: tests works only on curl >= 7.21.2");
H A Dcurl_multi_init_basic.phpt7 <?php if (!extension_loaded("curl")) print "skip"; ?>
12 * Source code : ext/curl/multi.c
13 * Test documentation: http://wiki.php.net/qa/temp/ext/curl
H A Dcurl_multi_init_param.phpt7 <?php if (!extension_loaded("curl")) print "skip"; ?>
12 * Source code : ext/curl/multi.c
13 * Test documentation: http://wiki.php.net/qa/temp/ext/curl
H A Dcurl_reset.phpt4 <?php if (!extension_loaded("curl")) print "skip";
10 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
11 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
H A Dskipif.inc2 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
H A Dbug65458.phpt2 Bug #65458 (curl memory leak)
5 if (!extension_loaded('curl')) exit("skip curl extension not loaded");
H A Dcurl_version_error.phpt4 <?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>
10 * Source code: ext/curl/interface.c
/PHP-7.0/ext/curl/
H A Dconfig.w324 ARG_WITH("curl", "cURL support", "no");
7 if (CHECK_LIB("libcurl_a.lib;libcurl.lib", "curl", PHP_CURL) &&
8 CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_CURL") &&
9 CHECK_LIB("ssleay32.lib", "curl", PHP_CURL) &&
10 CHECK_LIB("libeay32.lib", "curl", PHP_CURL)
11 && CHECK_LIB("winmm.lib", "curl", PHP_CURL)
12 && CHECK_LIB("wldap32.lib", "curl", PHP_CURL)
13 && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "curl", PHP_CURL))) ||
14 …(PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "curl", PHP_CURL)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_S…
16 EXTENSION("curl", "interface.c multi.c share.c curl_file.c");
[all …]
H A Dconfig.m45 PHP_ARG_WITH(curl, for cURL support,
6 [ --with-curl[=DIR] Include cURL support])
9 if test -r $PHP_CURL/include/curl/easy.h; then
14 if test -r $i/include/curl/easy.h; then
37 easy.h should be in <curl-dir>/include/curl/)
40 CURL_CONFIG="curl-config"
44 CURL_CONFIG=${CURL_DIR}/bin/curl-config
47 CURL_CONFIG=${CURL_DIR}/curl-config
82 #include <curl/curl.h>
109 #include <curl/curl.h>
[all …]
/PHP-7.0/ext/standard/tests/file/
H A Dbug53241.phpt6 * curl to test this */
7 if (!extension_loaded("curl")) exit("skip curl extension not loaded");

Completed in 85 milliseconds

12345