<?php
$text = "Аргентина манит негра";
$result = 'Это палиндром';
$resultN = "Это не палиндром";
$halfLength = floor($length/ 2); $new = (-19);
for ($i = 0; $i <= $halfLength; $i++) {
if ($symbol == $symbolRev) {
echo $result;
break;
} else {
echo $resultN;
break;
}
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7Cm1iX2ludGVybmFsX2VuY29kaW5nKCd1dGYtOCcpOwoKCiR0ZXh0ID0gItCQ0YDQs9C10L3RgtC40L3QsCDQvNCw0L3QuNGCINC90LXQs9GA0LAiOwokcmVzdWx0ID0gJ9Ct0YLQviDQv9Cw0LvQuNC90LTRgNC+0LwnOwokcmVzdWx0TiA9ICLQrdGC0L4g0L3QtSDQv9Cw0LvQuNC90LTRgNC+0LwiOwoKJHRleHQgPSBtYl9zdHJ0b2xvd2VyKCR0ZXh0KTsKJHRleHQgPSBzdHJfcmVwbGFjZSgnICcsICcnLCAkdGV4dCk7CgokbGVuZ3RoID0gbWJfc3RybGVuKCR0ZXh0KTsKJGhhbGZMZW5ndGggPSBmbG9vcigkbGVuZ3RoLyAyKTsKJG5ldyA9ICgtMTkpOwpmb3IgKCRpID0gMDsgJGkgPD0gJGhhbGZMZW5ndGg7ICRpKyspICB7Cgkkc3ltYm9sID0gbWJfc3Vic3RyKCR0ZXh0LCAkaSwgMSk7Cgkkc3ltYm9sUmV2ID0gbWJfc3Vic3RyKCR0ZXh0LCAkbmV3LCAxKTsKCQoJaWYgKCRzeW1ib2wgPT0gJHN5bWJvbFJldikgewogICBlY2hvICRyZXN1bHQ7CiAgIGJyZWFrOwp9IGVsc2UgewogICBlY2hvICRyZXN1bHROOwogICBicmVhazsKfQp9