note 84096 deleted from function.scandir by felipe
| From: | felipe@php.net | Date: | Fri, 27 Jun 2008 13:37:34 +0000 |
| Subject: | note 84096 deleted from function.scandir by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140868@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
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?