2 /* Prototype : proto mixed parse_url(string url, [int url_component])
3 * Description: Parse a URL and return its components
4 * Source code: ext/standard/url.c
9 * Parse a load of URLs without specifying PHP_URL_SCHEME as the URL component
11 include_once(dirname(__FILE__
) . '/urls.inc');
13 foreach ($urls as $url) {
15 var_dump(parse_url($url, PHP_URL_SCHEME
));