(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache >= 7.0.0)
opcache_reset — Resets the contents of the opcode cache
opcache_reset ( ) : bool
This function resets the entire opcode cache. After calling opcache_reset(), all scripts will be reloaded and reparsed the next time they are hit.
This function has no parameters.
Returns true
if the opcode cache was reset, or false
if the opcode cache is disabled.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.opcache-reset.php