3
1
Back

$n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } if ($rel[0]=='#' || $rel[0]=='?') { $path = ''; } /* replace '//' or '/./' or '/foo/../' with '/' */ } /* absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs.

New Pull Request