SplFileInfo::__toString(PHP 5 >= 5.1.2) SplFileInfo::__toString — Returns the path to the file as a string Описание
public void SplFileInfo::__toString
( void
)
This method will return the file name of the referenced file. Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns the path to the file. Примеры
Пример #1 SplFileInfo::__toString() example
<?phpРезультатом выполнения данного примера будет что-то подобное: string(3) "foo" foo string(12) "/usr/bin/php" /usr/bin/php |
||