update : 2015.11.03
php.shukuma.com검색:
|
streamWrapper::dir_readdir(PHP 4 >= 4.3.2, PHP 5) streamWrapper::dir_readdir — Read entry from directory handle 설명
public string streamWrapper::dir_readdir
( void
)
This method is called in response to readdir(). 인수이 함수는 인수가 없습니다. 반환값
Should return string representing the next filename, or
오류/예외이 메쏘드 호출을 실패했을
때 예제
Example #1 Listing files from tar archives
<?php 위 예제의 출력 예시: string(13) "construct.xml" string(16) "dir-closedir.xml" string(15) "dir-opendir.xml" string(15) "dir-readdir.xml" string(17) "dir-rewinddir.xml" string(9) "mkdir.xml" string(10) "rename.xml" string(9) "rmdir.xml" string(15) "stream-cast.xml" string(16) "stream-close.xml" string(14) "stream-eof.xml" string(16) "stream-flush.xml" string(15) "stream-lock.xml" string(15) "stream-open.xml" string(15) "stream-read.xml" string(15) "stream-seek.xml" string(21) "stream-set-option.xml" string(15) "stream-stat.xml" string(15) "stream-tell.xml" string(16) "stream-write.xml" string(10) "unlink.xml" string(12) "url-stat.xml" Rewinding.. string(13) "construct.xml" |