File::stripLeadingSeparators()

File::stripLeadingSeparators() -- strip leading separators from a path

Synopsis

require_once 'File.php';

string File::stripLeadingSeparators (string $path [, string $separator = DIRECTORY_SEPARATOR])

Описание

This method removes the leading directory separator (like "/" on *nix) from a path name.

Параметр

Возвращаемое значение

This methods returns the given path name without a leading directory separator.

Заметка

Эта функция может быть вызвана статически.

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ