Add OPCache file cache and JIT blacklist functions#5050
Merged
Girgias merged 2 commits intophp:masterfrom Jan 19, 2026
Merged
Conversation
074ea74 to
17839f1
Compare
Girgias
requested changes
Jan 9, 2026
Comment on lines
+42
to
+44
| <para> | ||
| &return.void; | ||
| </para> |
Member
There was a problem hiding this comment.
Suggested change
| <para> | |
| &return.void; | |
| </para> | |
| <simpara> | |
| &return.void; | |
| </simpara> |
Comment on lines
+33
to
+34
| <para> | ||
| </para> |
Member
There was a problem hiding this comment.
Suggested change
| <para> | |
| </para> | |
| <para> | |
| The function to blacklist, represented as a first class callable. It is also possible to pass an anonymous function, in which case the anonymous function itself is blacklisted. | |
| </para> |
arnaud-lb
reviewed
Jan 9, 2026
Comment on lines
+33
to
+34
| <para> | ||
| </para> |
Member
There was a problem hiding this comment.
Suggested change
| <para> | |
| </para> | |
| <para> | |
| The function to blacklist, represented as a first class callable. It is also possible to pass an anonymous function, in which case the anonymous function itself is blacklisted. | |
| </para> |
Contributor
Author
|
Thank you @Girgias for the review. I also changed the |
Member
|
@jordikroon can you please rebase this on the latest master, I created (and ran) some scripts to automatically convert the para tags across the opcache folder and automatically apply this to translations. |
470e481 to
9fe9c50
Compare
9fe9c50 to
5b2625d
Compare
Contributor
Author
|
The PR has been rebased with the master @Girgias |
Girgias
reviewed
Jan 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds documentation for two OPCache functions:
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:
#4995
php/php-src#15559
php/php-src#16979
Doc tracker:
#3872
#4886