CacheTool\Proxy\ApcProxy::apc_bin_dumpfile PHP Метод

apc_bin_dumpfile() публичный Метод

Outputs a binary dump of the given files and user variables from the APC cache to the named file.
С версии: 3.1.4
public apc_bin_dumpfile ( array $files, array $user_vars, string $filename, integer $flags, resource $context = null ) : integer
$files array The file names being dumped
$user_vars array The user variables being dumped
$filename string The filename where the dump is being saved
$flags integer Flags passed to the filename stream. See the file_put_contents() documentation for details.
$context resource The context passed to the filename stream. See the file_put_contents() documentation for details.
Результат integer 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.
    public function apc_bin_dumpfile(array $files, array $user_vars, $filename, $flags = 0, $context = null)
    {
        $code = new Code();
        $code->addStatement(sprintf('return apc_bin_dumpfile(%s, %s, %s, %s, %s);', var_export($files, true), var_export($user_vars, true), var_export($filename, true), var_export($flags, true), var_export($context, true)));
        return $this->adapter->run($code);
    }