note 84096 added to function.scandir
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 27 Jun 2008 10:10:08 +0000 |
| Subject: | note 84096 added to function.scandir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140866@lists.php.net to get a copy of this message | ||
Why are there two functions to list directory content in PHP and which one is better: readdir or
scandir? It seems to me that it needs less code to write the scandir function, is there a downside
to that function?
----
Server IP: 194.153.94.10
Probable Submitter: 83.76.219.151
----
Manual Page -- http://www.php.net/manual/en/function.scandir.php
Edit -- https://master.php.net/note/edit/84096
Del: integrated -- https://master.php.net/note/delete/84096/integrated
Del: useless -- https://master.php.net/note/delete/84096/useless
Del: bad code -- https://master.php.net/note/delete/84096/bad+code
Del: spam -- https://master.php.net/note/delete/84096/spam
Del: non-english -- https://master.php.net/note/delete/84096/non-english
Del: in docs -- https://master.php.net/note/delete/84096/in+docs
Del: other reasons-- https://master.php.net/note/delete/84096
Reject -- https://master.php.net/note/reject/84096
Search -- https://master.php.net/manage/user-notes.php