#29246 [Opn->Csd]: glob() nomatch returns false, again
| From: | iliaa@php.net | Date: | Sun, 18 Jul 2004 16:44:38 +0000 |
| Subject: | #29246 [Opn->Csd]: glob() nomatch returns false, again | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62585@lists.php.net to get a copy of this message | ||
ID: 29246
Updated by: iliaa@php.net
Reported By: claudio dot frizziero at nereal dot com
-Status: Open
+Status: Closed
Bug Type: Filesystem function related
Operating System: red hat 9
PHP Version: 4.3.8
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-07-18 17:29:31] claudio dot frizziero at nereal dot com
Description:
------------
glob() function returns false on error AND on no match
Reproduce code:
---------------
$list = glob("/emptydirectory/*");
var_dump ($list);
Expected result:
----------------
array()
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29246&edit=1