#28477 [Asn->Csd]: glob() searches in / for "*"
| From: | iliaa@php.net | Date: | Mon, 07 Jun 2004 18:31:52 +0000 |
| Subject: | #28477 [Asn->Csd]: glob() searches in / for "*" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60520@lists.php.net to get a copy of this message | ||
ID: 28477
Updated by: iliaa@php.net
Reported By: d at koteroff dot ru
-Status: Assigned
+Status: Closed
Bug Type: Directory function related
Operating System: Windows
PHP Version: 5CVS-2004-05-21 (dev)
Assigned To: iliaa
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-06-03 20:48:10] swinn at yahoo dot com
This bug is present in the Win32 version 4.3.7.
------------------------------------------------------------------------
[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