#31330 [Bgs]: Bug #31242 related to glob() and reported fixed is still active
| From: | as at mindcom dot de | Date: | Tue, 28 Dec 2004 22:19:11 +0000 |
| Subject: | #31330 [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-71183@lists.php.net to get a copy of this message | ||
ID: 31330
User updated by: as at mindcom dot de
Reported By: as at mindcom dot de
Status: Bogus
Bug Type: Filesystem function related
Operating System: Win XP
PHP Version: 4CVS-2004-12-28 (stable)
New Comment:
sorry, I only found Bug #31242 and that one is closed
Previous Comments:
------------------------------------------------------------------------
[2004-12-28 23:10:55] derick@php.net
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!
------------------------------------------------------------------------
[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