APC_BIN_LOADFILE(3) 1 APC_BIN_LOADFILE(3)
apc_bin_loadfile - Load a binary dump from a file into the APC file/user cache
SYNOPSIS
bool apc_bin_loadfile (string $filename, [resource $context = NULL], [int $flags])
DESCRIPTION
Loads a binary dump from a file into the APC file/user cache.
PARAMETERS
o $filename
- The file name containing the dump, likely from apc_bin_dumpfile(3).
o $context
- The files context.
o $flags
- Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5, or both.
RETURN VALUES
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).
SEE ALSO
apc_bin_dumpfile(3), apc_bin_load(3).
PHP Documentation Group APC_BIN_LOADFILE(3)