Write a PHP program to replace a string "Python" with "PHP" and "Python" with " PHP" in a given string.
Input: English letters (including single byte alphanumeric characters, blanks, symbols) are given on one line. The length of the input character string is 1000 or less.
Sample Input:
PHP is popular than Python
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer