<?php
$text = "А роза упала на лапу Азора";
$result1 = "палиндром";
$result2 = "не палиндром";
$polovinabukv = floor($vsegobukv/2);
for ($i = 0; $i <= $polovinabukv; $i++) {
if ($bukva1 != $bukva2) {
echo "Результат: {$result2}";
break;
}
if ($i = $polovinabukv && $bukva1 = $bukva1){
echo "Результат: {$result1}";
break;
}
}
PD9waHAKIAptYl9pbnRlcm5hbF9lbmNvZGluZygndXRmLTgnKTsKIAokdGV4dCA9ICLQkCDRgNC+0LfQsCDRg9C/0LDQu9CwINC90LAg0LvQsNC/0YMg0JDQt9C+0YDQsCI7CiRuaXogPSBtYl9zdHJ0b2xvd2VyKCR0ZXh0KTsKJGJlelByb2JlbG92ID0gc3RyX3JlcGxhY2UoJyAnLCcnLCRuaXopOwokcmVzdWx0MSA9ICLQv9Cw0LvQuNC90LTRgNC+0LwiOwokcmVzdWx0MiA9ICLQvdC1INC/0LDQu9C40L3QtNGA0L7QvCI7CiR2c2Vnb2J1a3YgPSBtYl9zdHJsZW4oJGJlelByb2JlbG92KTsKJHBvbG92aW5hYnVrdiA9IGZsb29yKCR2c2Vnb2J1a3YvMik7CiAKZm9yICgkaSA9IDA7ICRpIDw9ICRwb2xvdmluYWJ1a3Y7ICRpKyspIHsKIAoJJGJ1a3ZhMSA9IG1iX3N1YnN0cigkYmV6UHJvYmVsb3YsICRpLCAxKTsKCSRidWt2YTIgPSBtYl9zdWJzdHIoJGJlelByb2JlbG92LCAtMS0kaSwgMSk7CiAKCWlmICgkYnVrdmExICE9ICRidWt2YTIpIHsKCWVjaG8gItCg0LXQt9GD0LvRjNGC0LDRgjogeyRyZXN1bHQyfSI7CglicmVhazsKCX0gCgkKCWlmICgkaSA9ICRwb2xvdmluYWJ1a3YgJiYgJGJ1a3ZhMSA9ICRidWt2YTEpewoJZWNobyAi0KDQtdC30YPQu9GM0YLQsNGCOiB7JHJlc3VsdDF9IjsKCWJyZWFrOwkKCX0KfSAgCgo=