[], 'reset'=>false]; $files_to_flush = [ '/var/www/html/api/wevia-master-api.php', '/var/www/html/api/wevia-opus-intents.php', '/var/www/html/api/wevia-fast-path-v3.php', '/var/www/weval/wevia-ia/wevia-infra-intercept.php', '/opt/wevia-brain/opus4-autowire-handler.php', '/opt/wevia-brain/plugin-intents.php', '/opt/wevia-brain/wevia-master-router.php', ]; foreach ($files_to_flush as $f) { if (opcache_invalidate($f, true)) $R['flushed_files'][] = $f; } $R['reset'] = opcache_reset(); $R['opcache_status'] = opcache_get_status(false)['opcache_enabled'] ?? 'unknown'; echo json_encode($R, JSON_PRETTY_PRINT);