The str_ireplace() function used for replaces all occurrences with other characters in a string.
Syntax
str_replace (search,replace,string,count)
Example
echo str_replace("Dear","Brother","Hello Dear");
Output
Hello Brother
Copyright ©2022 coderraj.com. All Rights Reserved.