Skip to content

This project is a test for censoring words in a paragraph using PHP. It takes a paragraph as input, prints it and its length, then takes a word to censor from the user via GET parameter and replaces all occurrences of that word with three asterisks (***). Finally, it prints the censored paragraph and its length.

Notifications You must be signed in to change notification settings

LauraBigoni/php-badwords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

About

This project is a test for censoring words in a paragraph using PHP. It takes a paragraph as input, prints it and its length, then takes a word to censor from the user via GET parameter and replaces all occurrences of that word with three asterisks (***). Finally, it prints the censored paragraph and its length.

Topics

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages