Compzone.Org :: Podręcznik PHP :: apc_fetch
Która technologia najbardziej Cię interesuje?
PHP
ASP
AJAX
SQL
JavaScript
Inna
Sonda Wyniki

Add to Google

apc_fetch

(PECL)

apc_fetch --  Fetch a stored variable from the cache

Opis

mixed apc_fetch ( string key )

Parametry

key

The key used to store the value (with apc_store()).

Zwracane wartości

The stored variable on success; FALSE on failure

Przykłady

Przykład 1. A apc_fetch() example

<?php
$bar 
'BAR';
apc_store('foo'$bar);
var_dump(apc_fetch('foo'));
?>

Powyższy przykład wyświetli:

string(3) "BAR"

Patrz także

apc_store()
apc_delete()
Copyright © 2005-2006 Compzone.Org. Kopiowanie i wykorzystywanie materiałów zawartych na tej stronie bez zgody autora zabronione!