ID: 31330
Updated by: [EMAIL PROTECTED]
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