diff --git a/src/Opcache/Service.php b/src/Opcache/Service.php index c525337..628bf26 100644 --- a/src/Opcache/Service.php +++ b/src/Opcache/Service.php @@ -386,6 +386,9 @@ protected function compileState(): array $v = $this->size($v) . " ({$v})"; } elseif ($k === 'opcache.optimization_level') { $levels = []; + if ($v > 0) { + $levels[] = sprintf("Optimization Level: [0x%08X]", $v); + } foreach ($this->optimizationLevels as $level => $info) { if ($level & $v) { $levels[] = "{$info} [{$level}]";