What is str_replace()?
It is used to replaces some characters with some other characters in a string.
Suppose, we want to Replace the characters "Umesh" in the string "Umesh Singh" with "Sonu"
echo str_replace("Umesh","Sonu","Umesh Singh");
BY Best Interview Question ON 13 Jan 2019