$file) { if (opcache_is_script_cached($file[0])) { continue; } $ignore = false; foreach ($list as $item) { if (str_contains($file[0], $item)) { $ignores[] = $file[0]; $ignore = true; break; } } if ($ignore) { continue; } try { @opcache_compile_file($file[0]); } catch (Throwable $e) { $msg = $e->getMessage(); file_put_contents('php://stdout', "preload failed $msg" . PHP_EOL); } }