PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

apc_fetch> <apc_define_constants
Last updated: Fri, 26 Dec 2008

view this page in

apc_delete

(PECL apc >= 3.0.0)

apc_delete Efface une variable stockée du cache

Description

bool apc_delete ( string $key )

Efface une variable stockée du cache.

Liste de paramètres

key

La clé key utilisée pour stocker la valeur (avec apc_store()).

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.

Exemples

Exemple #1 Exemple avec apc_delete()

<?php
$bar 
'BAR';
apc_store('foo'$bar);
apc_delete('foo');
// c'est évidemment inutile sous cette forme
?>



add a note add a note User Contributed Notes
apc_delete
There are no user contributed notes for this page.

apc_fetch> <apc_define_constants
Last updated: Fri, 26 Dec 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites