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