str_ireplace

Using str_ireplace in PHP

Submitted by GeePee on
This project will teach you on how to use str_ireplace in PHP. I have here an example which is word censoring. I created an array with the words that I want to replace with. Usually, we use strtolower in replacing words. But we can also use str_replace or just simply add i on str_replace. Hope you learn from this.