str_ireplace ( ) - Case insensitive search and replace function Share / Like
The str_ireplace() string function in PHP replaces target substrings with a substring you supply. It will replace all instances found. It is not case sensitive as demonstrated below. For a case sensitive search and replace function use str_replace().