Opcache Control Panel

Details Files Reset Recheck Refresh
memory
320M
280M87%free
40M12%used
0wasted
keys
128K
127K99%free
653scripts
607wasted
hits
24K
22K93%hits
16666%misses
0blacklist
restarts
5
5manual
0keys
0memory

general

Hostip-172-31-6-138.cn-north-1.compute.internal
PHP VersionPHP 7.0.33 fpm-fcgi Linux
Opcache VersionZend OPcache 7.0.33
Uptime12 months and 1 hour
Last Restart1 hour ago

memory

Used Memory39.8M
Free Memory280.2M
Wasted Memory0
Current Wasted Percentage0

statistics

Num Cached Scripts653
Num Cached Keys1260
Max Cached Keys130987
Hits22676
Oom Restarts0
Hash Restarts0
Manual Restarts5
Misses1666
Blacklist Misses0
Blacklist Miss Ratio0
Opcache Hit Rate93.2

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