import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-url / parse_url_basic_006.php
blob7de7c2b9d375bfdae705ffb1d1c2cd03d314bca8
1 <?php
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
5 * Alias to functions:
6 */
8 /*
9 * Parse a load of URLs without specifying PHP_URL_PASS as the URL component
11 include_once(dirname(__FILE__) . '/urls.inc');
13 foreach ($urls as $url) {
14 echo "--> $url : ";
15 var_dump(parse_url($url, PHP_URL_PASS));
18 echo "Done";