update : 2015.11.03
php.shukuma.com검색:
|
RecursiveDirectoryIterator::__construct(PHP 5 >= 5.1.2) RecursiveDirectoryIterator::__construct — Constructs a RecursiveDirectoryIterator 설명
public RecursiveDirectoryIterator::__construct
( string
$path
[, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO
] )
Constructs a RecursiveDirectoryIterator()
for the provided 인수
반환값Returns the newly created RecursiveDirectoryIterator. 오류/예외
Throws an UnexpectedValueException
if the 예제
Example #1 RecursiveDirectoryIterator example
<?php 위 예제의 출력 예시: SubPathName: fruit/apple.xml SubPath: fruit Key: /tmp/fruit/apple.xml SubPathName: stuff.xml SubPath: Key: /tmp/stuff.xml SubPathName: veggies/carrot.xml SubPath: veggies Key: /tmp/veggies/carrot.xml 참고
|