I am looking to use strpos to check for many chars in a string, for example:
strpos
I would like to separately check for the chars :,!, a
:
!
If any of them are found, return false.
Since you don't care about the actual position of the character, you could use regex:
preg_match("/[:!&]/", $str); // 1 if found, 0 if none found