function getZodiacalSign($date){
if($date = strtotime($date)) {
list($day, $month) = explode('.', date('d.m', $date));
$signs = ["Козерог","Водолей","Рыбы","Овен","Телец","Близнецы","Рак","Лев","Девы","Весы","Скорпион","Стрелец"];
$signsstart = [21, 20, 20, 20, 20, 20, 21, 22, 23, 23, 23, 23];
return $day < $signsstart[$month +1]? $signs[$month -1]: $signs[$month %12];
}
}
echo getZodiacalSign('29.4.1993');