Function to return the lexicographically smallest palindrome that can be made from the given string after replacing the required characters
< ? php function makePalindrome ( $ str ) { $ i = 0 ; $ j = strlen ( $ str ) - 1 ; while ( $ i <= $ j ) {