#29007 [Csd]: glob() nomatch returns false
ID: 29007
Updated by: hholzgra@php.net
Reported By: mplomer at gmx dot de
Status: Closed
Bug Type: Directory function related
Operating System: WinXP
PHP Version: 5CVS-2004-07-04 (dev)
New Comment:
I only tested on Linux, please reopen if it persists on WinXP
Previous Comments:
------------------------------------------------------------------------
[2005-01-24 10:43:24] hholzgra@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2004-07-04 09:43:13] mplomer at gmx dot de
Description:
------------
Same as Bug# 28649.
It seems to be fixed only in 4.x-CVS
With the actual 5.0-CVS-Snapshot I have the same Problem.
Reproduce code:
---------------
php -r 'var_dump(glob("abcdefg"));'
Expected result:
----------------
an empty array()
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29007&edit=1
Thread (3 messages)