File::stripLeadingSeparators() -- strip leading separators from a path
Opis
This method removes the leading directory separator (like "/" on *nix)
from a path name.
Parametr
string $path - the path name where the
leading separator should be removed from.
string $separator - optional string that
defines the separator. This parameter defaults to the value of
the constant DIRECTORY_SEPARATOR that is
pre-defined by PHP.
Zwracana wartość
This methods returns the given path name without a leading directory
separator.
Uwagi
Ta funkcja może być wywołana
statycznie.