The PHP module _clearCache is used to clear the opcode cache for a specific script or the entire cache based on the selected cache type. This is useful when changes have been made to a PHP script and the changes are not being reflected due to the cached version of the script being loaded.
Package library: PHP's own cache module.
Example 1: Clearing the entire cache ```php opcache_reset(); // Resets the entire opcode cache ?>
Example 2: Clearing the cache for a specific file
php
```
PHP Module::_clearCache - 30 examples found. These are the top rated real world PHP examples of Module::_clearCache from package microweber extracted from open source projects. You can rate examples to help us improve the quality of examples.