Hi, I am trying to basically create a list of obscene words for a filter. I wanted to generate the list by creating arrays of characters and their replacements, example. 'A' can be replaced with '4', or "E" with "3".
So basically I have a bunch of arrays for every char in the alphabet with the several different ways to replace it. EG. $e = array( "e" =>"3"); I have an array of obscene words. I need to print all the obscene words and then their variants where the letters match. Example:
Hello He11o He1lo H3llo H31lo H311o
Every variation. How would I go about doing this? Any help would be much appreciated.