Opcache Control Panel

Details Files Reset Recheck Refresh
memory
192M
175M91%free
17M8%used
0wasted
keys
128K
128K99%free
143scripts
125wasted
hits
261
11845%hits
14354%misses
0blacklist
restarts
10
10manual
0keys
0memory

general

HostVM-4-8-ubuntu
PHP VersionPHP 7.4.20 fpm-fcgi Linux
Opcache VersionZend OPcache 7.4.20
Opcode Caching Up and Running
Optimization Enabled
SHM Cache Enabled
File Cache Disabled
Startup OK
Shared memory model mmap
Uptime2.5 years and 21 hours
Last Restart11 minutes ago

memory

Used Memory16.8M
Free Memory175.2M
Wasted Memory0
Current Wasted Percentage0

statistics

Num Cached Scripts143
Num Cached Keys268
Max Cached Keys130987
Hits118
Oom Restarts0
Hash Restarts0
Manual Restarts10
Misses143
Blacklist Misses0
Blacklist Miss Ratio0
Opcache Hit Rate45.2

runtime

DirectiveLocal ValueMaster Value
opcache.blacklist_filenameno valueno value
opcache.consistency_checks00
opcache.dups_fixOffOff
opcache.enableOnOn
opcache.enable_cliOnOn
opcache.enable_file_overrideOffOff
opcache.error_logno valueno value
opcache.file_cacheno valueno value
opcache.file_cache_consistency_checksOnOn
opcache.file_cache_onlyOffOff
opcache.file_update_protection22
opcache.force_restart_timeout180180
opcache.huge_code_pagesOffOff
opcache.interned_strings_buffer88
opcache.lockfile_path/tmp/tmp
opcache.log_verbosity_level11
opcache.max_accelerated_files100000100000
opcache.max_file_size00
opcache.max_wasted_percentage55
opcache.memory_consumption192192
opcache.opt_debug_level00
opcache.optimization_level0x7FFEBFFF0x7FFEBFFF
opcache.preferred_memory_modelno valueno value
opcache.preloadno valueno value
opcache.preload_userno valueno value
opcache.protect_memoryOffOff
opcache.restrict_apino valueno value
opcache.revalidate_freq6060
opcache.revalidate_pathOffOff
opcache.save_commentsOnOn
opcache.use_cwdOnOn
opcache.validate_permissionOffOff
opcache.validate_rootOffOff
opcache.validate_timestampsOnOn

functions

opcache_reset
opcache_invalidate
opcache_compile_file
opcache_is_script_cached
opcache_get_configuration
opcache_get_status

optimization levels

PassDescription
1Constants subexpressions elimination (CSE) true, false, null, etc.
Optimize series of ADD_STRING / ADD_CHAR
Convert CAST(IS_BOOL,x) into BOOL(x)
Convert INIT_FCALL_BY_NAME + DO_FCALL_BY_NAME into DO_FCALL
2Convert constant operands to expected types
Convert conditional JMP with constant operands
Optimize static BRK and CONT
3Convert $a = $a + expr into $a += expr
Convert $a++ into ++$a
Optimize series of JMP
4PRINT and ECHO optimization (defunct)
5Block Optimization - most expensive pass
Performs many different optimization patterns based on control flow graph (CFG)
9Optimize register allocation (allows re-usage of temporary variables)
10Remove NOPs
directives guide | functions guide | wiki.php.net | pecl | Zend source | OCP latest