private static function checkFile($file, $time) { return @filemtime($file) == $time; // @ - stat may fail }