#28477 [Opn->Asn]: glob() searches in / for "*"

From: Date: Fri, 04 Jun 2004 12:11:00 +0000
Subject: #28477 [Opn->Asn]: glob() searches in / for "*"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-60352@lists.php.net to get a copy of this message
ID: 28477 Updated by: edink@php.net Reported By: d at koteroff dot ru -Status: Open +Status: Assigned Bug Type: Directory function related Operating System: Windows PHP Version: 5CVS-2004-05-21 (dev) -Assigned To: +Assigned To: iliaa 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

« previous php.bugs (#60352) next »