<?php
$text = "а роза упала на лапу Азора";
$result = "палиндром";
$negativeResult = "не палиндром";
for ($i = 1; $i <= $length; $i ++) {
if ($letter1 == $letter2) {
echo "$letter1 - $letter2 \n";
} else{
echo "$negativeResult";
break;
}
}
echo "$result";
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKbWJfaW50ZXJuYWxfZW5jb2RpbmcoJ3V0Zi04Jyk7CgokdGV4dCA9ICLQsCDRgNC+0LfQsCDRg9C/0LDQu9CwINC90LAg0LvQsNC/0YMg0JDQt9C+0YDQsCI7CiRyZXN1bHQgPSAi0L/QsNC70LjQvdC00YDQvtC8IjsKJG5lZ2F0aXZlUmVzdWx0ID0gItC90LUg0L/QsNC70LjQvdC00YDQvtC8IjsKCiR0ZXh0ID0gbWJfc3RydG9sb3dlcigkdGV4dCk7CiR0ZXh0ID0gc3RyX3JlcGxhY2UoIiAiLCAiIiwgJHRleHQpOwoKJGxlbmd0aCA9IGZsb29yKG1iX3N0cmxlbigkdGV4dCkgLyAyKTsKCmZvciAoJGkgPSAxOyAkaSA8PSAkbGVuZ3RoOyAkaSArKykgewoKCSRsZXR0ZXIxID0gbWJfc3Vic3RyKCR0ZXh0LCAkaSwgMSk7CgkkbGV0dGVyMiA9IG1iX3N1YnN0cigkdGV4dCwgLSRpLCAxKTsKCglpZiAoJGxldHRlcjEgPT0gJGxldHRlcjIpIHsKCQllY2hvICIkbGV0dGVyMSAtICRsZXR0ZXIyIFxuIjsKCgl9IGVsc2V7CgkJZWNobyAiJG5lZ2F0aXZlUmVzdWx0IjsKCQlicmVhazsKCX0KCX0KCmVjaG8gIiRyZXN1bHQiOwo=