ID: 39281 Updated by: [EMAIL PROTECTED] Reported By: johan dot ekman1 at comhem dot se -Status: Open +Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: windows xp, apache PHP Version: 5.1.6 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2006-10-27 16:00:16] johan dot ekman1 at comhem dot se Description: ------------ The glob function returns false when globing directories which have files containing () in the name. Reproduce code: --------------- $data = glob("c:/mywwwroot/data/*"); var_dump($data); Expected result: ---------------- array(1) { [0]=> string(39) "c:/mywwwroot/data/myfile(olof)data.txt" } Actual result: -------------- bool (false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39281&edit=1
