<?php
//проверка на палиндром
$text = "123454321";
$answer = 'палиндром';
for ($i=0; $i<$length; $i++) {
echo "$s - $f\n";
if ($s != $f) {
$answer = 'непалиндром';
}
}
echo $answer;
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKbWJfaW50ZXJuYWxfZW5jb2RpbmcoJ3V0Zi04Jyk7Ci8v0L/RgNC+0LLQtdGA0LrQsCDQvdCwINC/0LDQu9C40L3QtNGA0L7QvAoKJHRleHQgPSAiMTIzNDU0MzIxIjsKJHRleHQgPSBtYl9zdHJ0b2xvd2VyKCR0ZXh0KTsKJHRleHQgPSBzdHJfcmVwbGFjZSgnICcsICcnLCAkdGV4dCk7CgokbGVuZ3RoID0gZmxvb3IobWJfc3RybGVuKCR0ZXh0KS8yKTsKCiRhbnN3ZXIgPSAn0L/QsNC70LjQvdC00YDQvtC8JzsKCmZvciAoJGk9MDsgJGk8JGxlbmd0aDsgJGkrKykgewoJJHMgPSBtYl9zdWJzdHIoJHRleHQsICRpLCAxKTsKCSRmID0gbWJfc3Vic3RyKCR0ZXh0LCAtJGktMSwgMSk7CgllY2hvICIkcyAtICRmXG4iOwoJaWYgKCRzICE9ICRmKSB7CgkJJGFuc3dlciA9ICfQvdC10L/QsNC70LjQvdC00YDQvtC8JzsKCX0KfQoKZWNobyAkYW5zd2VyOw==