ID: 28477
Comment by: swinn at yahoo dot com
Reported By: d at koteroff dot ru
Status: Open
Bug Type: Directory function related
Operating System: Windows
PHP Version: 5CVS-2004-05-21 (dev)
New Comment:
This bug is present in the Win32 version 4.3.7.
Previous Comments:
------------------------------------------------------------------------
[2004-05-21 20:13:25] d at koteroff dot ru
Description:
------------
Yesterday's CVS version of glob() has a bug while searching by relative
masks. PHP5 RC2 works well. Version php5-win32-200405050630 in CVS
works correctly too.
getcwd() returns correct directory.
Reproduce code:
---------------
print_r(glob("*"));
Expected result:
----------------
Files in current directory.
Actual result:
--------------
Files in "/" (root directory).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28477&edit=1