blob: 678e3a3d11db1e11d76846d21ef02d8893892ca9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--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"
}
|