Problem With 'Hello'
codingbrains2-design opened this issue · 2 comments
codingbrains2-design commented
I created a PHP file and added some bad words using array_push().
when i input 'hello', it converts it into ****.
but i don't have hello word in the badwords array.
haridarshan21 commented
@raghucodingbrains
In such cases, check for full words like this
$censored = $censor->censorString('hello', true);
This will not censor hello word