6. Write a PHP function that checks whether a passed string is a palindrome or not? Go to the editor
A palindrome is a word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run.