|
DirectoryIterator::__constructConstructs a new directory iterator from a path Description
public DirectoryIterator::__construct
( string
$path
)Constructs a new directory iterator from a path. Parameters
Errors/Exceptions
Throws an UnexpectedValueException
if the
Throws a RuntimeException
if the Changelog
Examples
Example #1 A DirectoryIterator::__construct example This example will list the contents of the directory containing the script.
<?php See Also
|