Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT isn't available in PHP <8.0 #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cpeel
Copy link

@cpeel cpeel commented Feb 22, 2025

JIT isn't available in PHP <8.0 and accessing the jit key in $status results in a Notice:

Notice: Undefined index: jit in /path/opcache-gui/index.php on line 499

Notice: Trying to access array offset on value of type null in /path/opcache-gui/index.php on line 499

The code handles this scenario, we just need to squash the lack of the key causing the notice.

Fixes #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined index
1 participant