ZF-2271: Zend_Cache_Backend_File bug in PHP 5.2.5


The return value of glob() changed in PHP 5.2.5 when no matches are found (now returns false). See

This causes an "Invalid argument supplied for foreach()" on line 281 in release 1.0.3, as well as any other place in Zend_Cache_Backend_File where the return value of glob() is iterated using a foreach loop.


i just commited a fix for this in trunk, can you confirm that the problem is gone ?

It's fixed.

fixed in trunk and in 1.0 branch