<?php
$domain = array('http://butsw.pp.ua/', 'http://google.com/', 'http://gryazniepisyuni.com/');
foreach ($domain as $url) {
$is = isDomainAvailible($url);
if ($is == 1) {
echo "OK! <br>";
} else {
echo "ERR!!!<br>";
}
}