summaryrefslogtreecommitdiff
path: root/ext/standard/tests/url/parse_url_relative_scheme.phpt
blob: 7ac15621c77e5dec24614b592926614ae97f58b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Test parse_url() function: Checks relative URL schemes (e.g. "//example.com")
--FILE--
<?php
var_dump(parse_url('//example.org'));
?>
--EXPECT--
array(1) {
  ["host"]=>
  string(11) "example.org"
}