<?php
$text="А роза упала на лапу Азора";
$result="palindrom";
$halflenght=floor($lenght/2); for ($i = 0; $i <= $halflenght; $i++) {
if ($symbol1 == $symbol2) {
echo "Результат проверки - {$result}";
}
else {
echo "Результат проверки - ghjjjk";
}
echo $symbol1;
echo $symbol2;
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKbWJfaW50ZXJuYWxfZW5jb2RpbmcoJ3V0Zi04Jyk7CiR0ZXh0PSLQkCDRgNC+0LfQsCDRg9C/0LDQu9CwINC90LAg0LvQsNC/0YMg0JDQt9C+0YDQsCI7CiRyZXN1bHQ9InBhbGluZHJvbSI7CiR0ZXh0PW1iX3N0cnRvbG93ZXIoJHRleHQpOwokc3Ryb2thID0gcHJlZ19yZXBsYWNlKCcvXHMrLycsICcnLCAkdGV4dCk7CiAkbGVuZ2h0PW1iX3N0cmxlbigkdGV4dCk7CiAkaGFsZmxlbmdodD1mbG9vcigkbGVuZ2h0LzIpOwpmb3IgKCRpID0gMDsgJGkgPD0gJGhhbGZsZW5naHQ7ICRpKyspIHsKICRzeW1ib2wxID0gbWJfc3Vic3RyKCRzdHJva2EsICRpLCAxKTsKICAgICRzeW1ib2wyID0gbWJfc3Vic3RyKCRzdHJva2EsICRpLCAtMSk7fQogCiAgICBpZiAoJHN5bWJvbDEgPT0gJHN5bWJvbDIpIHsKICAgICAgIGVjaG8gItCg0LXQt9GD0LvRjNGC0LDRgiDQv9GA0L7QstC10YDQutC4IC0geyRyZXN1bHR9IjsKICAgIH0KIAogICAgZWxzZSB7CiAgICAgICBlY2hvICLQoNC10LfRg9C70YzRgtCw0YIg0L/RgNC+0LLQtdGA0LrQuCAtIGdoampqayI7CiAgICB9CiAgICBlY2hvICRzeW1ib2wxOwogICAgZWNobyAkc3ltYm9sMjs=