Query: opcache_is_script_cached
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OPCACHE_IS_SCRIPT_CACHED(3) 1 OPCACHE_IS_SCRIPT_CACHED(3) opcache_is_script_cached - Tells whether a script is cached in OPCacheSYNOPSISboolean opcache_is_script_cached (string $file)DESCRIPTIONThis function checks if a PHP script has been cached in OPCache. This can be used to more easily detect the "warming" of the cache for a particular script.PARAMETERSo $file - The path to the PHP script to be checked.RETURN VALUESReturns TRUE if $file is cached in OPCache, FALSE otherwise.SEE ALSOopcache_compile_file(3). PHP Documentation Group OPCACHE_IS_SCRIPT_CACHED(3)