#31330 [Opn->Bgs]: Bug #31242 related to glob() and reported fixed is still active
| From: | derick@php.net | Date: | Tue, 28 Dec 2004 22:10:56 +0000 |
| Subject: | #31330 [Opn->Bgs]: Bug #31242 related to glob() and reported fixed is still active | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71182@lists.php.net to get a copy of this message | ||
ID: 31330
Updated by: derick@php.net
Reported By: as at mindcom dot de
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Win XP
PHP Version: 4CVS-2004-12-28 (stable)
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Do not create a new report for the same bug!
Previous Comments:
------------------------------------------------------------------------
[2004-12-28 22:59:26] as at mindcom dot de
Description:
------------
glob() returns false on an empty dir, not an empty array as exspected.
the latest snapshot does not fix it (Dec 28, 2004 21:30 GMT)
Reproduce code:
---------------
$files = glob("/some_empty_dir/*");
var_dump($files);
Expected result:
----------------
array(0) {
}
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31330&edit=1