Back to WincacheStorage class

Method isSupported

public static bool
isSupported
()
Test to see if the storage handler is available.
Returns
  • bool
Since
  • 3.0.0

Method isSupported - Source code

/**
 * Test to see if the storage handler is available.
 *
 * @return  boolean
 *
 * @since   3.0.0
 */
public static function isSupported()
{
    return \extension_loaded('wincache') && \function_exists('wincache_ucache_get') && !strcmp(ini_get('wincache.ucenabled'), '1');
}