APC_BIN_LOAD(3) 1 APC_BIN_LOAD(3)
apc_bin_load - Load a binary dump into the APC file/user cache
SYNOPSIS
bool apc_bin_load (string $data, [int $flags])
DESCRIPTION
Loads the given binary dump into the APC file/user cache.
PARAMETERS
o $data
- The binary dump being loaded, likely from apc_bin_dump(3).
o $flags
- Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5, or both.
RETURN VALUES
Returns TRUE if the binary dump $data was loaded with success, otherwise FALSE is returned. FALSE is returned if APC is not enabled, or
if the $data is not a valid APC binary dump (e.g., unexpected size).
EXAMPLES
Example #1
apc_bin_load(3) example
<?php
$data = apc_bin_dump(NULL, NULL);
apc_bin_load($data, APC_BIN_VERIFY_MD5 | APC_BIN_VERIFY_CRC32);
?>
SEE ALSO
apc_bin_dump(3), apc_bin_loadfile(3).
PHP Documentation Group APC_BIN_LOAD(3)