← All docs
opcache_get_configuration()
Returns the OPcache directives, blacklist, and version, or false when API access is restricted.
opcache_get_configuration()
function opcache_get_configuration(): array|false
Returns the OPcache directives, blacklist, and version, or false when API access is restricted.
Parameters: none.
Returns: array|false
Availability
- Compiled (AOT): supported through an injected elephc-PHP prelude.
eval()(magician interpreter): supported through native OPcache prelude declarations or dedicated interpreter handlers; see OPcache.
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how opcache_get_configuration is implemented in the compiler, see the internals page.