#28477 [Com]: glob() searches in / for "*"

From: Date: Thu, 03 Jun 2004 18:48:10 +0000
Subject: #28477 [Com]: glob() searches in / for "*"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-60334@lists.php.net to get a copy of this message
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

« previous php.bugs (#60334) next »