#31330 [NEW]: Bug #31242 related to glob() and reported fixed is still active
| From: | as at mindcom dot de | Date: | Tue, 28 Dec 2004 21:59:26 +0000 |
| Subject: | #31330 [NEW]: Bug #31242 related to glob() and reported fixed is still active | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-71178@lists.php.net to get a copy of this message | ||
From: as at mindcom dot de
Operating system: Win XP
PHP version: 4CVS-2004-12-28 (stable)
PHP Bug Type: Filesystem function related
Bug description: Bug #31242 related to glob() and reported fixed is still active
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 bug report at http://bugs.php.net/?id=31330&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31330&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31330&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31330&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31330&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31330&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31330&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31330&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31330&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31330&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31330&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31330&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31330&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31330&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31330&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31330&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31330&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31330&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31330&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31330&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31330&r=mysqlcfg