GoLang opcache_reset

request it (314)
GoLang replacement for PHP's opcache_reset [edit | history]



Do you know a GoLang replacement for PHP's opcache_reset? Write it!

PHP opcache_reset

PHP original manual for opcache_reset [ show | php.net ]

opcache_reset

(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache >= 7.0.0)

opcache_resetResets the contents of the opcode cache

Description

bool opcache_reset ( void )

This function resets the entire opcode cache. After calling opcache_reset(), all scripts will be reloaded and reparsed the next time they are hit.

Parameters

This function has no parameters.

Return Values

Returns TRUE if the opcode cache was reset, or FALSE if the opcode cache is disabled.

See Also