PHP str_ireplace() function
In this article, We will explain to you PHP str_ireplace() function with example.
PHP str_ireplace() function
The str_ireplace() function is a string and case-insensitive function. which is used to find the case-insensitive characters and replace the characters inside another string. so you can see our PHP String Function example.
Syntax
str_ireplace(find,replace,string,count);
Example
<?PHP echo str_ireplace("my","our","This is My website"); ?>
Output
This is our website