doc-en
doc-en copied to clipboard
Add OPCache file cache and JIT blacklist functions
Adds documentation for two OPCache functions:
- opcache_is_script_cached_in_file_cache: checks if a script is cached in OPCache file cache
- opcache_jit_blacklist: blacklists a function from being JIT compiled
The opcache_jit_blacklist function exists since 2024 but has never been documented. Additionally opcache_is_script_cached_in_file_cache is new since PHP 8.5.
References: https://github.com/php/doc-en/issues/4995 https://github.com/php/php-src/pull/15559 https://github.com/php/php-src/pull/16979
Doc tracker: https://github.com/php/doc-en/issues/3872 https://github.com/php/doc-en/issues/4886