opcache_invalidate(3) php man page | unix.com

Man Page: opcache_invalidate

Operating Environment: php

Section: 3

OPCACHE_INVALIDATE(3)							 1						     OPCACHE_INVALIDATE(3)

opcache_invalidate - Invalidates a cached script

SYNOPSIS
boolean opcache_invalidate FALSE (string $script, [boolean $force])
DESCRIPTION
This function invalidates a particular script from the opcode cache. If $force is unset or FALSE, the script will only be invalidated if the modification time of the script is newer than the cached opcodes.
PARAMETERS
o $script - The path to the script being invalidated. o $force - If set to TRUE, the script will be invalidated regardless of whether invalidation is necessary.
RETURN VALUES
Returns TRUE if the opcode cache for $script was invalidated or if there was nothing to invalidate, or FALSE if the opcode cache is dis- abled.
SEE ALSO
opcache_compile_file(3), opcache_reset(3). PHP Documentation Group OPCACHE_INVALIDATE(3)
Related Man Pages
script(1) - sunos
script(1) - opensolaris
update-profile-cache(1) - debian
time_sleep_until(3) - php
wincache_ocache_fileinfo(3) - php
Similar Topics in the Unix Linux Community
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update