Please note that it's necessary to do
$apcu_ok = function_exists( 'apcu_enabled' ) ? apcu_enabled() : false;
to cope with the situation where the APCu extension is not available.
(PECL apcu >= 4.0.3)
apcu_enabled — Vérifie si APCu est utilisable dans l'environnement courant
Cette fonction ne contient aucun paramètre.
Please note that it's necessary to do
$apcu_ok = function_exists( 'apcu_enabled' ) ? apcu_enabled() : false;
to cope with the situation where the APCu extension is not available.