#39281 [Fbk->Opn]: glob() returns false
ID: 39281
User updated by: johan dot ekman1 at comhem dot se
Reported By: johan dot ekman1 at comhem dot se
-Status: Feedback
+Status: Open
Bug Type: *Directory/Filesystem functions
Operating System: windows xp, apache
PHP Version: 5.1.6
New Comment:
It works with the snapshot.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2006-10-27 21:50:15] tony2001@php.net
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
------------------------------------------------------------------------
[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
Thread (4 messages)