zendframework/zf2 — pull request #741 by EvanDotPro (2012-01-17 17:55:51+00:00)
Title: Make sure glob attempt always returns an array.

Noticed by @Danielss89 on IRC, it appears that glob() will return boolean false
in some cases.

To quote a comment from php.net/glob:
"If you have open_basedir set in php.ini to limit which files php can execute,
glob(...) will return false when there are no matching files. If open_basedir is
not set, the very same code will return an empty array in the same situation."