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