<?php
$text = "А роза упала на лапу Азора";
$result = "Палиндром";
$halfLength = ($length / 2);
for ($q = 0; $q <= $halfLength; $q++) {
$result = "Не пaлиндром";
break;
}
}
echo "Это предложнеие - {$result} \n";
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7Cm1iX2ludGVybmFsX2VuY29kaW5nKCd1dGYtOCcpOwoKJHRleHQgPSAi0JAg0YDQvtC30LAg0YPQv9Cw0LvQsCDQvdCwINC70LDQv9GDINCQ0LfQvtGA0LAiOwokcmVzdWx0ID0gItCf0LDQu9C40L3QtNGA0L7QvCI7CgokdGV4dDIgPSBtYl9zdHJ0b2xvd2VyKCR0ZXh0KTsKJHRleHQzID0gc3RyX3JlcGxhY2UoIiAiLCIiLCR0ZXh0Mik7CgokbGVuZ3RoID0gbWJfc3RybGVuKCR0ZXh0KTsKJGhhbGZMZW5ndGggPSAoJGxlbmd0aCAvIDIpOwoKZm9yICgkcSA9IDA7ICRxIDw9ICRoYWxmTGVuZ3RoOyAkcSsrKSB7CgkKCWlmIChtYl9zdWJzdHIoJHRleHQzLCAkcSwgMSkgIT09IG1iX3N1YnN0cigkdGV4dDMsIC0oJHErMSksIDEpKSB7CgkJJHJlc3VsdCA9ICLQndC1INC/YdC70LjQvdC00YDQvtC8IjsKCQlicmVhazsKCX0KfQoKZWNobyAi0K3RgtC+INC/0YDQtdC00LvQvtC20L3QtdC40LUgLSB7JHJlc3VsdH0gXG4iOw==