ndle, 1); if (!feof($handle)) { // Somebody tampered with our data $data = false; } break; } else { // Something went wrong break; } $line++; } fclose($handle); // unserialize if we got some data $data = ($data !== false) ? @unserialize($data) : $data; if ($data === false) { $this->remove_file($file); return false; } return $data; } } /** * Write cache data to a specified file * * 'data_global' is a special case and the generated format is different for this file: * *