PHP - String Functions
You want to check if the word 'cat' exists anywhere in the string
$sentence. Which code snippet correctly does this?$sentence. Which code snippet correctly does this?strpos and compare strictly to false to handle position 0 correctly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions