Home
last modified time | relevance | path

Searched refs:parse_url (Results 1 – 25 of 34) sorted by relevance

12

/PHP-8.0/ext/standard/tests/url/
H A Dparse_url_error_002.phpt2 Test parse_url() function: url component specifier out of range
5 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n";
9 var_dump(parse_url($url, -1));
13 parse_url($url, 99);
21 *** Testing parse_url() : error conditions: url component specifier out of range ***
43 parse_url(): Argument #2 ($component) must be a valid URL component identifier, 99 given
H A Dbug69976.phpt5 var_dump(parse_url("/busca/?fq=B:20001"));
6 var_dump(parse_url("/busca/?fq=B:200013"));
7 var_dump(parse_url("/busca/?fq=home:01234"));
8 var_dump(parse_url("/busca/?fq=home:012345"));
H A Dbug63162.phpt2 Test parse_url() for bug #63162
10 var_dump(parse_url('http://user:pass@host'));
11 var_dump(parse_url('//user:pass@host'));
12 var_dump(parse_url('//user@host'));
H A Dbug74780.phpt2 Bug #74780 parse_url() borks when query string contains colon
6 parse_url('//php.net/path?query=1:2'),
7 parse_url('//php.net/path.php?query=a:b'),
8 parse_url('//username@php.net/path?query=1:2')
H A Dbug73192.phpt2 Bug #73192: parse_url return wrong hostname
6 var_dump(parse_url("http://example.com:80#@google.com/"));
7 var_dump(parse_url("http://example.com:80?@google.com/"));
H A Dbug68917.phpt2 Bug #68917 (parse_url fails on some partial urls)
5 print_r(parse_url('//example.org:81/hi?a=b#c=d'));
6 print_r(parse_url('//example.org/hi?a=b#c=d'));
H A Dbug55399.phpt2 Bug #55399 (parse_url() incorrectly treats ':' as a valid path)
6 var_dump(parse_url(":"));
H A Dbug54180.phpt2 Bug #54180 (parse_url() incorrectly parses path when ? in fragment)
6 var_dump(parse_url("http://example.com/path/script.html?t=1#fragment?data"));
7 var_dump(parse_url("http://example.com/path/script.html#fragment?data"));
H A Dparse_url_relative_scheme.phpt2 Test parse_url() function: Checks relative URL schemes (e.g. "//example.com")
5 var_dump(parse_url('//example.org'));
H A Dparse_url_basic_010.phpt2 Test parse_url() function : check values of URL related constants
H A Dparse_url_basic_004.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PORT as the URL component
12 var_dump(parse_url($url, PHP_URL_PORT));
H A Dparse_url_basic_006.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PASS as the URL component
12 var_dump(parse_url($url, PHP_URL_PASS));
H A Dparse_url_basic_002.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_SCHEME as the URL compon…
12 var_dump(parse_url($url, PHP_URL_SCHEME));
H A Dparse_url_basic_008.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_QUERY as the URL compone…
12 var_dump(parse_url($url, PHP_URL_QUERY));
H A Dparse_url_basic_009.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_FRAGMENT as the URL comp…
12 var_dump(parse_url($url, PHP_URL_FRAGMENT));
H A Dparse_url_basic_005.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_USER as the URL component
12 var_dump(parse_url($url, PHP_URL_USER));
H A Dparse_url_basic_003.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_HOST as the URL component
12 var_dump(parse_url($url, PHP_URL_HOST));
H A Dparse_url_basic_007.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PATH as the URL component
12 var_dump(parse_url($url, PHP_URL_PATH));
/PHP-8.0/ext/filter/tests/
H A Dbug77423.phpt2 Bug #77423 (parse_url() will deliver a wrong host to user)
/PHP-8.0/ext/standard/tests/file/
H A Dbug38450.phpt16 $url = parse_url($path);
H A Dbug38450_1.phpt16 $url = parse_url($path);
H A Dbug38450_2.phpt16 $url = parse_url($path);
H A Dbug38450_3.phpt16 $url = parse_url($path);
H A Dinclude_streams.phpt34 $split = parse_url($path);
/PHP-8.0/ext/standard/tests/strings/
H A Durl_t.phpt2 parse_url() function
79 var_dump(@parse_url($url));
84 var_dump(parse_url($url, $v));

Completed in 25 milliseconds

12