Corrisoft interview question

Solve a palindrome problem in php or Java.