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