How to check if a string contains certain characters

后端 未结 0 730
半阙折子戏
半阙折子戏 2021-01-02 00:27

I am trying to make a script that checks if a string contains a certain character. This is what I have tried:

$disallowedChars = array(\'\\\', \'/\', \':\', \         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题