Skip to content

Commit

Permalink
Merge branch 'main' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey authored Apr 10, 2023
2 parents 44ed52c + c336cb9 commit 8b2990f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ public function performsJustInTimeCompilation(): bool
return false;
}

if (ini_get('opcache.jit_buffer_size') === '0') {
return false;
}

$jit = ini_get('opcache.jit');

if (($jit === 'disable') || ($jit === 'off')) {
Expand Down

0 comments on commit 8b2990f

Please sign in to comment.