note 56070 deleted from function.scandir by betz
| From: | betz@php.net | Date: | Tue, 23 Aug 2005 20:28:07 +0000 |
| Subject: | note 56070 deleted from function.scandir by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94095@lists.php.net to get a copy of this message | ||
Note Submitter: bjcffnet at gmail dot com
----
If you can't figure out why you're getting (supposedly) no error, check to see if
you're passing an empty string to it...
<?php
scandir('');
?>
Would produce:
Warning: scandir() [function.scandir.php]: (errno 0): No error in C:\somedir\somefile.php on line 2
Thought I'd save somebody the hour-an-a-half that I spent wondering why there there was no
error ;)