In PHP there is some função
that does the verification of words in texts, example:
A camila morreu de diabete.
I want to create a function by looking for the word morreu
, so after finding a if
result, it looks something like this:
if (função == 'morreu') { echo 'OK'; } else { echo 'FAIL'; }
Is there a function?