Add to Favorites

PHP stri_replace

All you php developers out there should be greatly familiar with str_replace(). Without it, what would we do?

Many though do not realize that the function is case sensitive or they will go to great lengths to work around the case sensitivity of str_replace.

Do this no longer! Just use stri_replace(), the arguments are exactly the same as str_replace but this version is case insensitive.

Comments

Be the first to leave a comment on this post.

Leave a comment

To leave a comment, please log in / sign up