import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-url / parse_url_basic_002.php
blob363e2bb68aaab116fe43cd48ff865bd4cd3df410
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_SCHEME 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_SCHEME));
19 echo "Done";