SplFileInfo::getPath(PHP 5 >= 5.1.2) SplFileInfo::getPath — Gets the path without filename Описание
   public string SplFileInfo::getPath
    ( void
   ) 
  Returns the path to the file, omitting the filename and any trailing slash. Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns the path to the file. Примеры
 Пример #1 SplFileInfo::getPath() example 
<?phpРезультатом выполнения данного примера будет что-то подобное: string(8) "/usr/bin" string(4) "/usr" Смотрите также
 
  | 
||