<?php
// Everything you enter here will be executed by our servers. Try it!
$url = 'http://www.example.com/';
$rel = 'path/to/somewhere#foo?baz=quix';
var_dump(parse_url($rel), prase_url($url . $rel));
Fatal error: Uncaught Error: Call to undefined function prase_url() in /in/bpVcM:6
Stack trace:
#0 {main}
thrown in /in/bpVcM on line 6
Process exited with code 255.