Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/standard/tests/url/
H A Dparse_url_error_001.phpt2 Test parse_url() function : error conditions - wrong number of args
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
11 echo "*** Testing parse_url() : error conditions ***\n";
14 echo "\n-- Testing parse_url() function with Zero arguments --\n";
15 var_dump( parse_url() );
17 //Test parse_url with one more than the expected number of arguments
22 var_dump( parse_url($url, $url_component, $extra_arg) );
27 *** Testing parse_url() : error conditions ***
29 -- Testing parse_url() function with Zero arguments --
31 Warning: parse_url() expects at least 1 parameter, 0 given in %s on line 12
[all …]
H A Dparse_url_variation_002_64bit.phpt2 Test parse_url() function : usage variations - unexpected type for arg 2.
7 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 echo "*** Testing parse_url() : usage variations ***\n";
76 var_dump( parse_url($url, $value) );
82 *** Testing parse_url() : usage variations ***
87 Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
111 Error: 2 - parse_url(): Invalid URL component identifier %d, %s(71)
122 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
127 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
132 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
[all …]
H A Dparse_url_error_002.phpt2 Test parse_url() function: url component specifier out of range
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
11 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n";
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 ***
45 Warning: parse_url(): Invalid URL component identifier 99 in %s on line 15
H A Dparse_url_variation_002_32bit.phpt2 Test parse_url() function : usage variations - unexpected type for arg 2.
7 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 echo "*** Testing parse_url() : usage variations ***\n";
76 var_dump( parse_url($url, $value) );
82 *** Testing parse_url() : usage variations ***
87 Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
138 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
143 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
148 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
153 Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
[all …]
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 Dparse_url_variation_001.phpt2 Test parse_url() function : usage variations - unexpected type for arg 1.
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
16 echo "*** Testing parse_url() : usage variations ***\n";
73 var_dump( parse_url($value) );
79 *** Testing parse_url() : usage variations ***
139 Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
144 Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
149 Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
154 Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
159 Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
[all …]
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 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 Dbug55399.phpt2 Bug #55399 (parse_url() incorrectly treats ':' as a valid path)
6 var_dump(parse_url(":"));
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
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
H A Dparse_url_basic_004.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PORT as the URL componen…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 var_dump(parse_url($url, PHP_URL_PORT));
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…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 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…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 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 componen…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 var_dump(parse_url($url, PHP_URL_USER));
H A Dparse_url_basic_006.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PASS as the URL componen…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 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…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 var_dump(parse_url($url, PHP_URL_SCHEME));
H A Dparse_url_basic_007.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PATH as the URL componen…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 var_dump(parse_url($url, PHP_URL_PATH));
H A Dparse_url_basic_003.phpt2 Test parse_url() function: Parse a load of URLs without specifying PHP_URL_HOST as the URL componen…
5 /* Prototype : proto mixed parse_url(string url, [int url_component])
18 var_dump(parse_url($url, PHP_URL_HOST));
/PHP-5.5/ext/standard/
H A Durl.h42 PHP_FUNCTION(parse_url);
/PHP-5.5/ext/standard/tests/file/
H A Dbug38450.phpt16 $url = parse_url($path);
H A Dbug38450_1.phpt16 $url = parse_url($path);
H A Dbug38450_3.phpt16 $url = parse_url($path);
H A Dinclude_streams.phpt34 $split = parse_url($path);
H A Dbug38450_2.phpt16 $url = parse_url($path);

Completed in 42 milliseconds

12