@web_sakat; yazdığın fetch_headers fonksiyonu yerine direk get_headers() fonksiyonunu kullanabilirsin