PHP Doku:: Load a binary dump into the APC file/user cache - function.apc-bin-load.html

Verlauf / Chronik / History: (27) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDas Verhalten von PHP beeinflussenAlternativer PHP CacheAPC Funktionenapc_bin_load

Ein Service von Reinhard Neidl - Webprogrammierung.

APC Funktionen

<<apc_bin_dumpfile

apc_bin_loadfile>>

apc_bin_load

(PECL apc >= 3.1.4)

apc_bin_loadLoad a binary dump into the APC file/user cache

Beschreibung

bool apc_bin_load ( string $data [, int $flags ] )

Loads the given binary dump into the APC file/user cache.

Parameter-Liste

data

The binary dump being loaded, likely from apc_bin_dump().

flags

Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5, or both.

Rückgabewerte

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).

Beispiele

Beispiel #1 apc_bin_load() example

<?php
$data 
apc_bin_dump(NULLNULL);
apc_bin_load($dataAPC_BIN_VERIFY_MD5 APC_BIN_VERIFY_CRC32);
?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)