Bunu iki yöntemle yapabilirsin.
1. Veya Operatörü ile if (strpos($a, 'http://www.xxxxxxxx.com/') !== false || strpos($a, 'http://www.aaaaaa.com/') !== false || strpos($a, 'http://www.bbbb.com/') !== false) {
// Codes
}2. Url Parse sadece domaini array içerisinde arama: $a = parse_url($a);
if(in_array($a['host'], ['aaaa.com', 'bbbb.com', 'cccc.com'])){
// Codes
}
teşekkür ederim hocam çok sağol çalıştı