Query: opcache_invalidate
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OPCACHE_INVALIDATE(3) 1 OPCACHE_INVALIDATE(3) opcache_invalidate - Invalidates a cached scriptSYNOPSISboolean opcache_invalidate FALSE (string $script, [boolean $force])DESCRIPTIONThis 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.PARAMETERSo $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 VALUESReturns 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 ALSOopcache_compile_file(3), opcache_reset(3). PHP Documentation Group OPCACHE_INVALIDATE(3)