I am trying to make a script that checks if a string contains a certain character. This is what I have tried:
$disallowedChars = array(\'\\\', \'/\', \':\', \