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] [EMAIL PROTECTED]

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

Reply via email to