Home > PHP > Function > WinCache > wincache_refresh_if_changed()

wincache_refresh_if_changed()

wincache_refresh_if_changed - Refreshes the cache entries for the cached files

Syntax

bool wincache_refresh_if_changed (array $files)

Arguments

  • files - An array of file names for files that need to be refreshed. An absolute or relative file paths can be used.

Description

Refreshes the cache entries for the files, whose names were passed in the input argument. If no argument is specified then refreshes all the entries in the cache.

Version

PHP PECL wincache >= 1.0.0

Return value

Returns TRUE on success or FALSE on failure.