/PHP-7.3/ext/standard/tests/url/ |
H A D | parse_url_error_002.phpt | 2 Test parse_url() function: url component specifier out of range 5 /* Prototype : proto mixed parse_url(string url, [int url_component]) 7 * Source code: ext/standard/url.c 11 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n"; 12 $url = 'http://secret:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_re… 15 var_dump(parse_url($url, -1)); 18 var_dump(parse_url($url, 99)); 23 *** Testing parse_url() : error conditions: url component specifier out of range ***
|
H A D | get_headers_error_002.phpt | 8 /* Prototype : proto array get_headers(string url[, int format]) 10 * Source code: ext/standard/url.c 15 $url = 'http://php.net'; 19 var_dump( get_headers($url, "#PHPTestFest2009 Norway") ); 23 var_dump( get_headers($url, array()) ); 32 var_dump( get_headers($url, $object) );
|
H A D | parse_url_error_001.phpt | 5 /* Prototype : proto mixed parse_url(string url, [int url_component]) 7 * Source code: ext/standard/url.c 19 $url = 'string_val'; 22 var_dump( parse_url($url, $url_component, $extra_arg) );
|
H A D | get_headers_error_001.phpt | 8 /* Prototype : proto array get_headers(string url[, int format[, resource $context]]) 10 * Source code: ext/standard/url.c 22 $url = 'string_val'; 26 var_dump( get_headers($url, $format, $context, $extra_arg) );
|
/PHP-7.3/ext/curl/tests/ |
H A D | curl_error_basic.phpt | 2 curl_error() function - basic test for curl_error using a fake url 11 $url = "fakeURL"; 12 $ip = gethostbyname($url); 13 if ($ip != $url) die("skip 'fakeURL' resolves to $ip\n"); 26 $url = "fakeURL"; 31 $ch = curl_init($url);
|
H A D | curl_basic_015.phpt | 2 Test curl_init() function with $url parameter defined 9 $url = 'http://www.example.com/'; 10 $ch = curl_init($url); 11 var_dump($url == curl_getinfo($ch, CURLINFO_EFFECTIVE_URL));
|
H A D | curl_basic_017.phpt | 21 $url = "{$host}/get.php?test=get"; 30 curl_setopt($chs[0], CURLOPT_URL, $url); //set the url we want to use 31 curl_setopt($chs[1], CURLOPT_URL, $url); //set the url we want to use 32 curl_setopt($chs[2], CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_019.phpt | 12 $url = "http://{$host}/get.php?test="; 15 curl_setopt($ch, CURLOPT_URL, $url); 18 var_dump($url == $info);
|
H A D | curl_setopt_basic004.phpt | 17 $url = "{$host}/"; 21 curl_setopt($ch, CURLOPT_URL, $url); 33 curl_setopt($ch, CURLOPT_URL, $url);
|
H A D | curl_copy_handle_basic_004.phpt | 16 $url = "{$host}/get.php?test=getpost&get_param=Hello%20World"; 21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_multi_info_read.phpt | 18 foreach ($urls as $i => $url) { 19 $conn[$i] = curl_init($url); 32 foreach ($urls as $i => $url) {
|
H A D | bug77946.phpt | 19 foreach ($urls as $i => $url) { 20 $conn[$i] = curl_init($url); 34 foreach ($urls as $i => $url) {
|
H A D | curl_copy_handle_basic_001.phpt | 16 $url = "{$host}/get.php?test=getpost&get_param=Hello%20World"; 21 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_011.phpt | 21 $url = "{$host}/get.php?test=cookie"; 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_012.phpt | 21 $url = "{$host}/get.php?test=httpversion"; 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_013.phpt | 21 $url = "{$host}/get.php?test=httpversion"; 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_CURLOPT_READDATA.phpt | 14 $url = $host . '/get.php?test=post'; 22 $ch = curl_init($url); 23 curl_setopt($ch, CURLOPT_URL, $url);
|
H A D | curl_basic_001.phpt | 21 $url = "{$host}/get.php?test=get"; 25 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
H A D | curl_basic_002.phpt | 22 $url = "{$host}/get.php?test=get"; 27 curl_setopt($ch, CURLOPT_URL, $url); //set the url we want to use
|
/PHP-7.3/ext/filter/ |
H A D | logical_filters.c | 553 php_url *url; in php_filter_validate_url() local 570 if (url == NULL) { in php_filter_validate_url() 590 php_url_free(url); in php_filter_validate_url() 596 php_url_free(url); in php_filter_validate_url() 602 url->scheme == NULL || in php_filter_validate_url() 604 …(url->host == NULL && (strcmp(ZSTR_VAL(url->scheme), "mailto") && strcmp(ZSTR_VAL(url->scheme), "n… in php_filter_validate_url() 608 php_url_free(url); in php_filter_validate_url() 612 if (url->user != NULL && !is_userinfo_valid(url->user) in php_filter_validate_url() 613 || url->pass != NULL && !is_userinfo_valid(url->pass) in php_filter_validate_url() 615 php_url_free(url); in php_filter_validate_url() [all …]
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | bug43008.phpt | 2 Bug #43008 (php://filter uris ignore url encoded filternames and can't handle slashes) 11 $url = "" 18 var_dump(urlencode(file_get_contents($url)));
|
H A D | bug44034.phpt | 13 foreach($urls as $url) { 14 echo strtr($url, array("\r" => "\\r", "\n" => "\\n")) . "\n"; 15 var_dump(file($url, FILE_IGNORE_NEW_LINES));
|
/PHP-7.3/main/streams/ |
H A D | plain_wrapper.c | 1123 url += sizeof("file://") - 1; in php_plain_files_url_stater() 1141 return VCWD_STAT(url, &ssb->sb); in php_plain_files_url_stater() 1149 url += sizeof("file://") - 1; in php_plain_files_unlink() 1156 ret = VCWD_UNLINK(url); in php_plain_files_unlink() 1359 url += sizeof("file://") - 1; in php_plain_files_rmdir() 1367 if (!php_win32_check_trailing_space(url, strlen(url))) { in php_plain_files_rmdir() 1373 if (VCWD_RMDIR(url) < 0) { in php_plain_files_rmdir() 1395 if (!php_win32_check_trailing_space(url, strlen(url))) { in php_plain_files_metadata() 1402 url += sizeof("file://") - 1; in php_plain_files_metadata() 1421 ret = VCWD_UTIME(url, newtime); in php_plain_files_metadata() [all …]
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 5 function test($url, $mode) { 6 echo "$url, $mode\n"; 7 $fd = fopen($url, $mode);
|
/PHP-7.3/ext/filter/tests/ |
H A D | bug77423.phpt | 9 foreach ($urls as $url) { 10 var_dump(filter_var($url, FILTER_VALIDATE_URL));
|