opcache_invalidate
Invalidates a cached script
&reftitle.description;
booleanopcache_invalidate
stringscript
booleanforce&false;
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.
&reftitle.parameters;
script
The path to the script being invalidated.
force
If set to &true;, the script will be invalidated regardless of whether
invalidation is necessary.
&reftitle.returnvalues;
Returns &true; if the opcode cache for script was
invalidated or if there was nothing to invalidate, or &false; if the opcode
cache is disabled.
&reftitle.seealso;
opcache_compile_file
opcache_reset