"For example, if you want to make sure that your posts and comments contain no profanity, you might define a global variable with a list of forbidden words, and then create the following PHP function: function filter_profanity ($content) {global $profanities; foreach ($profanities as $profanity) {"