Наш чат в Telegram для обмена идеями, проектами, мыслями, людьми в сфере ИТ г.Ростова-на-Дону: @it_rostov

apc_bin_load

(PECL apc >= 3.1.4)

apc_bin_load — Load a binary dump into the APC file/user cache


Описание

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

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


Список параметров

data -

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

flags -

Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5, or both.


Возвращаемые значения

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


Примеры

Пример #1 apc_bin_load() example
$data = apc_bin_dump(NULL, NULL);
apc_bin_load($data, APC_BIN_VERIFY_MD5 | APC_BIN_VERIFY_CRC32);

Смотрите также


Описание на ru2.php.net
Описание на php.ru