note 53947 deleted from function.glob by danbrown

From: Date: Mon, 20 Jun 2011 15:20:24 +0000
Subject: note 53947 deleted from function.glob by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180740@lists.php.net to get a copy of this message
Note Submitter: mjs15451 at hotmail dot com ---- In regards to the comments made by: NOSPAM sketch at infinite dot net dot au, he is wrong about Unix/Linux (I can't speak for Windows). I am running PHP 5.0.4 and I ran a bunch of different tests on relative and absolute paths using the glob function and they all work on Unix/Linux. I also tested glob on empty directories and patterns which don't match any files (even directories or files which don't exist) and it __always__ returns an empty array. I couldn't get the glob function to return false so it looks like it always returns an array.

« previous php.notes (#180740) next »