#39281 [Opn->Csd]: glob() returns false

From: Date: Mon, 30 Oct 2006 22:03:35 +0000
Subject: #39281 [Opn->Csd]: glob() returns false
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104198@lists.php.net to get a copy of this message
 ID:               39281
 Updated by:       tony2001@php.net
 Reported By:      johan dot ekman1 at comhem dot se
-Status:           Open
+Status:           Closed
 Bug Type:         *Directory/Filesystem functions
 Operating System: windows xp, apache
 PHP Version:      5.1.6


Previous Comments:
------------------------------------------------------------------------

[2006-10-30 21:30:05] johan dot ekman1 at comhem dot se

It works with the snapshot.
Thank you.

------------------------------------------------------------------------

[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)

« previous php.bugs (#104198) next »