OPcache
Introduction
OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.
This extension is bundled with PHP 5.5.0 and later, and is » available in PECL for PHP versions 5.2, 5.3 and 5.4.
- Installing/Configuring
- Preloading
- OPcache Functions
- opcache_compile_file — Compiles and caches a PHP script without executing it
- opcache_get_configuration — Get configuration information about the cache
- opcache_get_status — Get status information about the cache
- opcache_invalidate — Invalidates a cached script
- opcache_is_script_cached — Tells whether a script is cached in OPCache
- opcache_is_script_cached_in_file_cache — Tells whether a script is cached in OPCache file cache
- opcache_jit_blacklist — Blacklists a function from being JIT compiled
- opcache_reset — Resets the contents of the opcode cache
↑ and ↓ to navigate • Enter to select • Esc to close • / to open