update : 2015.11.03
php.shukuma.com검색:
|
DirectoryIterator::__toString(PHP 5) DirectoryIterator::__toString — Get file name as a string 설명
public
string
DirectoryIterator::__toString
( void
)
Get the file name of the current DirectoryIterator item. 인수이 함수는 인수가 없습니다. 반환값Returns the file name of the current DirectoryIterator item. 예제
Example #1 A DirectoryIterator::__toString() example This example will list the contents of the directory containing the script.
<?php 위 예제의 출력 예시: . .. apple.jpg banana.jpg index.php pear.jpg 참고
|