APC_BIN_DUMPFILE(3) 1 APC_BIN_DUMPFILE(3)
apc_bin_dumpfile - Output a binary dump of cached files and user variables to a file
SYNOPSIS
int apc_bin_dumpfile (array $files, array $user_vars, string $filename, [int $flags], [resource $context = NULL])
DESCRIPTION
Outputs a binary dump of the given files and user variables from the APC cache to the named file.
PARAMETERS
o $files
- The file names being dumped.
o $user_vars
- The user variables being dumped.
o $filename
- The filename where the dump is being saved.
o $flags
- Flags passed to the $filename stream. See the file_put_contents(3) documentation for details.
o $context
- The context passed to the $filename stream. See the file_put_contents(3) documentation for details.
RETURN VALUES
The number of bytes written to the file, otherwise FALSE if APC is not enabled, $filename is an invalid file name, $filename can't be
opened, the file dump can't be completed (e.g., the hard drive is out of disk space), or an unknown error was encountered.
SEE ALSO
apc_bin_dump(3), apc_bin_load(3).
PHP Documentation Group APC_BIN_DUMPFILE(3)