Ask a Question related to PHP Bugs, Design and Development.
-
johan dot ekman1 at comhem dot se #1
#39281 [NEW]: glob() returns false
From: johan dot ekman1 at comhem dot se
Operating system: windows xp, apache
PHP version: 5.1.6
PHP Bug Type: *Directory/Filesystem functions
Bug description: glob() returns false
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 bug report at [url]http://bugs.php.net/?id=39281&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39281&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39281&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39281&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39281&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=39281&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=39281&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39281&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=39281&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=39281&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=39281&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=39281&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=39281&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=39281&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39281&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=39281&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=39281&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39281&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=39281&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39281&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39281&r=mysqlcfg[/url]
johan dot ekman1 at comhem dot se Guest
-
mail() returns FALSE, no err msg
Sometimes my mail() function returns FALSE, but there is no error message. Error reporting is set to E_ALL. It seems to be a problem of the bcc:... -
#24627 [Bgs]: feof always returns false
ID: 24627 Updated by: sniper@php.net Reported By: duerra at yahoo dot com Status: Bogus Bug Type: ... -
#24627 [Bgs->Opn]: feof always returns false
ID: 24627 User updated by: duerra at yahoo dot com Reported By: duerra at yahoo dot com -Status: Bogus +Status: ... -
#24627 [Com]: feof always returns false
ID: 24627 Comment by: b_ulrich at t-online dot de Reported By: duerra at yahoo dot com Status: Open Bug Type: ... -
#24627 [NEW]: feof always returns false
From: duerra at yahoo dot com Operating system: XP Pro PHP version: 4.3.3RC1 PHP Bug Type: Filesystem function related Bug... -
tony2001@php.net #2
#39281 [Opn->Fbk]: glob() returns false
ID: 39281
Updated by: [email]tony2001@php.net[/email]
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:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
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 [url]http://bugs.php.net/?id=39281&edit=1[/url]
tony2001@php.net Guest
-
johan dot ekman1 at comhem dot se #3
#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] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39281&edit=1[/url]
johan dot ekman1 at comhem dot se Guest
-
tony2001@php.net #4
#39281 [Opn->Csd]: glob() returns false
ID: 39281
Updated by: [email]tony2001@php.net[/email]
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] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39281&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

