opcache_is_script_cached(3) php man page | unix.com

Man Page: opcache_is_script_cached

Operating Environment: php

Section: 3

OPCACHE_IS_SCRIPT_CACHED(3)						 1					       OPCACHE_IS_SCRIPT_CACHED(3)

opcache_is_script_cached - Tells whether a script is cached in OPCache

SYNOPSIS
boolean opcache_is_script_cached (string $file)
DESCRIPTION
This 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.
PARAMETERS
o $file - The path to the PHP script to be checked.
RETURN VALUES
Returns TRUE if $file is cached in OPCache, FALSE otherwise.
SEE ALSO
opcache_compile_file(3). PHP Documentation Group OPCACHE_IS_SCRIPT_CACHED(3)
Related Man Pages
http_cache_etag(3) - php
is_readable(3) - php
clearstatcache(3) - php
rmdir(3) - php
time_sleep_until(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch