public function loadFile($filename) { if (CACHE_STATUS) { apc_bin_loadfile($filename); } return false; }
public function loadFile($filename) { if (_cacheStatus) { apc_bin_loadfile($filename); } return FALSE; }
/** * Load the given binary dump from the named file into the APC file/user cache * * @link http://php.net/manual/en/function.apc-bin-loadfile.php * * @param string $filename * The file name containing the dump, likely from apc_bin_dumpfile(). * @param resource $context * The files context. * @param int $flags * Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5, or both. * * @return bool Returns true on success, otherwise false Reasons it may return false include APC * is not enabled, filename is an invalid file name or empty, filename can't be opened, * the file dump can't be completed, or if the data is not a valid APC binary dump (e.g., unexpected size). */ public function apc_bin_loadfile($filename, $context = null, $flags = 0) { return apc_bin_loadfile($filename, $context, $flags); }
/** * @see \Components\Cache_Backend::load() load */ public function load($filename_) { return apc_bin_loadfile($filename_); }