Skip to content

JIT isn't available in PHP <8.0#120

Merged
amnuts merged 1 commit intoamnuts:next-releasefrom
cpeel:fix-index-notice-php74
Jul 27, 2025
Merged

JIT isn't available in PHP <8.0#120
amnuts merged 1 commit intoamnuts:next-releasefrom
cpeel:fix-index-notice-php74

Conversation

@cpeel
Copy link
Contributor

@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

@amnuts
Copy link
Owner

amnuts commented Jul 18, 2025

Hi @cpeel,

My sincerest apologies for not having addressed this before now!! Many thanks for your contribution - I really do appreciate it!

I'm going to be putting time aside next week in order to start addressing some issues and merging in pending PRs, so this will be merged in at that time.

@amnuts amnuts changed the base branch from master to next-release July 27, 2025 14:07
@amnuts amnuts merged commit 28f2291 into amnuts:next-release Jul 27, 2025
1 check passed
amnuts added a commit that referenced this pull request Jul 28, 2025
amnuts added a commit that referenced this pull request Jul 28, 2025
* Add German language support (#123)
* JIT isn't available in PHP <8.0 (#120)
* Updated to latest js libraries
* Updates for newer sass package
* Fixes #122
* Fixes #118
* Tweaked readme

---------

Co-authored-by: Matthias Straka <[email protected]>
Co-authored-by: Casey Peel <[email protected]>
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

2 participants