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