Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 174703 программиста и 1834 робота. Сейчас ищут 906 программистов ...
opcache_invalidate - Invalidates a cached script
Вернуться к: OPcache Функции
opcache_invalidate
(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache >= 7.0.0)
opcache_invalidate — Invalidates a cached script
Описание
boolean opcache_invalidate
( string
$script
[, boolean $force = 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.
Список параметров
-
script -
The path to the script being invalidated.
-
force -
If set to
TRUE, the script will be invalidated regardless of whether invalidation is necessary.
Возвращаемые значения
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.
Смотрите также
- opcache_compile_file() - Compiles and caches a PHP script without executing it
- opcache_reset() - Resets the contents of the opcode cache
Вернуться к: OPcache Функции