Opcache Control Panel

Details Files Reset Recheck Refresh
memory
128M
16free
128M99%used
391Kwasted
keys
7963
353844%free
355744%scripts
86810%wasted
hits
1138M
1123M98%hits
14M1%misses
0blacklist
restarts
0
0manual
0keys
0memory

general

HostVM-0-10-centos
PHP VersionPHP 8.1.3 fpm-fcgi Linux
Opcache VersionZend OPcache 8.1.3
Uptime4 weeks and 14 hours

memory

Used Memory127.6M
Free Memory16
Wasted Memory400296
Current Wasted Percentage0.3
Cache Full1

statistics

Num Cached Scripts3557
Num Cached Keys4425
Max Cached Keys7963
Hits1123.2M
Oom Restarts0
Hash Restarts0
Manual Restarts0
Misses14.4M
Blacklist Misses0
Blacklist Miss Ratio0
Opcache Hit Rate98.7

functions

opcache_reset
opcache_get_status
opcache_compile_file
opcache_invalidate
opcache_get_configuration
opcache_is_script_cached

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