`glob` returns `false` in cases of an error only. empty results, unreadable folders by permission ... are resulting in an empty array. tested with PHP-5.3.10 on Ubuntu12.