#43461 [Opn->Fbk]: glob() returns false
| From: | jani@php.net | Date: | Fri, 30 Nov 2007 10:56:42 +0000 |
| Subject: | #43461 [Opn->Fbk]: glob() returns false | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120246@lists.php.net to get a copy of this message | ||
ID: 43461
Updated by: jani@php.net
Reported By: marcin at artigo dot pl
-Status: Open
+Status: Feedback
Bug Type: Directory function related
Operating System: Linux 2.6.21.5
PHP Version: 5.2.5
New Comment:
Please check bug #43407 as I believe this is the same issue, and not a
bug.
Previous Comments:
------------------------------------------------------------------------
[2007-11-30 10:46:25] marcin at artigo dot pl
Description:
------------
glob() returns false instead of an empty array
No error occurs.
Reproduce code:
---------------
$ret = glob("*.foo");
var_dump($ret);
Expected result:
----------------
array
empty
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43461&edit=1