#23769 [NEW]: Glob() gives wrong result when pattern not found
| From: | patric at liefdeis dot com | Date: | Fri, 23 May 2003 09:11:13 +0000 |
| Subject: | #23769 [NEW]: Glob() gives wrong result when pattern not found | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40252@lists.php.net to get a copy of this message | ||
From: patric at liefdeis dot com
Operating system: FreeBSD
PHP version: 4.3.1
PHP Bug Type: Filesystem function related
Bug description: Glob() gives wrong result when pattern not found
When I do a glob() on my Linux machine with a pattern that doesn't have any
hits, I receive an array with 0 entries. This is not the problem. When I
do the same on my FreeBSD machine, I get 1 entry which is empty. This is a
problem. The FreeBSD machine does run a CVS version of 4.3.0, where the
Linux machine is running the 4.3.0 release version. I don't know if that
has anything to do with it, or that the problem is OS based. Anywayz, tnx
for looking in to it.
--
Edit bug report at http://bugs.php.net/?id=23769&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23769&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23769&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23769&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23769&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23769&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23769&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23769&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23769&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23769&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23769&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23769&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23769&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23769&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23769&r=gnused