ZF-4209: Zend_Cache::isReadable() keeps file handles open
Description
private static function isReadable($filename)
{
if (!$fh = @fopen($filename, 'r', true)) {
return false;
}
return true;
}
should be changed to
private static function isReadable($filename)
{
if (!$fh = @fopen($filename, 'r', true)) {
return false;
}
fclose($fh);
return true;
}
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-09-05T23:04:00.000+0000
Solved in SVN r11248