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