28 $path =
"/" . rtrim(ltrim(str_replace(
'//',
'/',
$path),
"/"),
"/");
61 return "/".ltrim(
$path,
"/").
"/";
static joinPathsAbsolute($path1, $path2)
With trailing and leading slashes.
static joinPaths($path1, $path2)
static normalizePath($path)