<?php
$text = "A roza upala na lapu Azora";
$result = "palindrome";
$halfLength = floor($length / 2);
for ($i = 0; $i <= $halfLength; $i++) {
$result = "not palindrome";
break;
}
}
echo "{$result}\n";
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7Cm1iX2ludGVybmFsX2VuY29kaW5nKCd1dGYtOCcpOwoKJHRleHQgPSAiQSByb3phIHVwYWxhIG5hIGxhcHUgQXpvcmEiOwokcmVzdWx0ID0gInBhbGluZHJvbWUiOwoKJHRleHQgPSBtYl9zdHJ0b2xvd2VyKCR0ZXh0KTsKJHRleHQgPSBzdHJfcmVwbGFjZSgiICIsICIiLCAkdGV4dCk7CgokbGVuZ3RoID0gbWJfc3RybGVuKCR0ZXh0KSAtIDE7CiRoYWxmTGVuZ3RoID0gZmxvb3IoJGxlbmd0aCAvIDIpOwoKZm9yICgkaSA9IDA7ICRpIDw9ICRoYWxmTGVuZ3RoOyAkaSsrKSB7CiAgICBpZiAobWJfc3Vic3RyKCR0ZXh0LCAkaSwgMSkgIT0gbWJfc3Vic3RyKCR0ZXh0LCAkbGVuZ3RoIC0gJGksIDEpKSB7CiAgICAgICAgJHJlc3VsdCA9ICJub3QgcGFsaW5kcm9tZSI7ICAgICAgIAogICAgICAgIGJyZWFrOyAKICAgIH0KfQoKZWNobyAieyRyZXN1bHR9XG4iOwo=