public static function are_requirements_met() {
        $enabled = ini_get('apc.enabled') && (php_sapi_name() != "cli" || ini_get('apc.enable_cli'));
        if (!extension_loaded('apcu') || !$enabled) {
            return false;
        }

        $version = phpversion('apcu');
        return $version && version_compare($version, self::REQUIRED_VERSION, '>=');
    }
public static function are_requirements_met() {
        $enabled = ini_get('apc.enabled') && (php_sapi_name() != "cli" || ini_get('apc.enable_cli'));
        if (!extension_loaded('apcu') || !$enabled) {
            return false;
        }

        $version = phpversion('apcu');
        return $version && version_compare($version, self::REQUIRED_VERSION, '>=');
    }
public static function are_requirements_met ( ) { $ enabled = ini_get ( 'apc.enabled' ) && ( php_sapi_name ( ) != "cli" || ini_get ( 'apc.enable_cli' ) ) ; if ( ! extension_loaded ( 'apcu' ) || ! $ enabled ) { return false ; } $ version = phpversion ( 'apcu' ) ; return $ version && version_compare ( $ version , self :: REQUIRED_VERSION , '>=' ) ; }
Static method to check that the APCu stores requirements have been met.

It checks that the APCu extension has been loaded and that it has been enabled.

@return bool True if the stores software/hardware requirements have been met and it can be used. False otherwise.
Static method to check that the APCu stores requirements have been met .