Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12083 invoked from network); 9 Oct 2011 15:40:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Oct 2011 15:40:24 -0000 X-Host-Fingerprint: 88.217.187.160 host-88-217-187-160.customer.m-online.net Date: Sun, 09 Oct 2011 11:40:24 -0400 Received: from [88.217.187.160] ([88.217.187.160:23703] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/53-15867-760C19E4 for ; Sun, 09 Oct 2011 11:40:24 -0400 To: internals@lists.php.net User-Agent: NewsTap/3.2 (iPhone/iPod Touch) Content-Type: text/plain; charset=UTF-8 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <931345662339866278.891701harald.lapp-gmail.com@news.php.net> X-Posted-By: 88.217.187.160 Subject: bug #47358 -- unexpected behaviour From: harald.lapp@gmail.com (Harald Lapp) hi, could someone please enlighten me, why bug #47358 http://bugs.php.net/bug.php?id=47358 was closed as "bogus"? the bug was reported for 5.2.9 but applies to 5.3.x and 5.4.x as well. i can't see, why glob should return 'false' if the search pattern does not match, even though if the directory being searched in is valid compared to the open_basedir settings: php -r "var_dump(glob('/tmp/*.php'));" array(0) { } vs. php -d "open_basedir=/tmp/" -r "var_dump(glob('/tmp/*.php'));" bool(false) i fail to understand, why the second one is expected behaviour. i stumbled over this when playing with the fat free framework, which uses quite a lot of glob statements in its autoloader, in a shared hosting environment. thanks in advance, harald