how to check if a string is in my centence php code example Example: check if string contains substring php 8 str_contains('STRING', 'SUB_STRING');