<?php
$text = "А роза упала на лапу Азора";
$result = 'палиндром';
$halfLength = floor($length/2);
for ($i=0; $i <= $halfLength; $i++) {
$i++;
if($sumb != $sumb1) {
$result = "Не палиндром!\n";
}
}
echo $result;
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7Cm1iX2ludGVybmFsX2VuY29kaW5nKCd1dGYtOCcpOwoKJHRleHQgPSAi0JAg0YDQvtC30LAg0YPQv9Cw0LvQsCDQvdCwINC70LDQv9GDINCQ0LfQvtGA0LAiOwokcmVzdWx0ID0gJ9C/0LDQu9C40L3QtNGA0L7QvCc7CgokdGV4dCA9IG1iX3N0cnRvbG93ZXIoJHRleHQpOwokdGV4dCA9IHN0cl9yZXBsYWNlKCIgIiwgIiIsICIkdGV4dCIpOwoKJGxlbmd0aCA9IG1iX3N0cmxlbigkdGV4dCk7CiRoYWxmTGVuZ3RoID0gZmxvb3IoJGxlbmd0aC8yKTsKCmZvciAoJGk9MDsgJGkgPD0gJGhhbGZMZW5ndGg7ICRpKyspCXsKCSRzdW1iID0gbWJfc3Vic3RyKCR0ZXh0LCAkaSwgMSk7CgkkaSsrOwoJJHN1bWIxID0gbWJfc3Vic3RyKCR0ZXh0LCAtJGksIDEpOwoJCWlmKCRzdW1iICE9ICRzdW1iMSkJewoJCQkkcmVzdWx0ID0gItCd0LUg0L/QsNC70LjQvdC00YDQvtC8IVxuIjsKCQl9Cn0KCmVjaG8gJHJlc3VsdDs=