blob: 7c8952db71e9df01cc9d15791f91e1ddf8b82844 (
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"
}
|