What is str_replace()

This function replace some characters with some other characters in a string , this function is case sensitive
syntax:- str_replace(find,replace,string);
find:-required,specifies the value to find
replace:-required,specifies the value to replace the value in find
string:-required,specifies the string to searched

str_replace()
<?php

echo str_replace(“world”,”india”,”hello world”);

?>

OUTPUT :
hello india