note 71721 added to function.directoryiterator-construct
| From: | springub at northclick dot de | Date: | Wed, 13 Dec 2006 12:26:43 +0000 |
| Subject: | note 71721 added to function.directoryiterator-construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120572@lists.php.net to get a copy of this message | ||
udvig dot ericson at gmail dot com
29-Jul-2006 07:48
In response to the comment below from udvig. The Example ist wrong, here is the right one:
<?php
$dir = new DirectoryIterator("/tmp");
foreach ($dir as $file) {
if ($file->isDot()) {
continue;
}
echo $file->getFilename() . "\n";
}
?>
----
Server IP: 212.124.37.9
Probable Submitter: 87.139.33.182
----
Manual Page -- http://www.php.net/manual/en/function.directoryiterator-construct.php
Edit -- https://master.php.net/note/edit/71721
Del: integrated -- https://master.php.net/note/delete/71721/integrated
Del: useless -- https://master.php.net/note/delete/71721/useless
Del: bad code -- https://master.php.net/note/delete/71721/bad+code
Del: spam -- https://master.php.net/note/delete/71721/spam
Del: non-english -- https://master.php.net/note/delete/71721/non-english
Del: in docs -- https://master.php.net/note/delete/71721/in+docs
Del: other reasons-- https://master.php.net/note/delete/71721
Reject -- https://master.php.net/note/reject/71721
Search -- https://master.php.net/manage/user-notes.php