if (str_contains('Hello World', 'World')) { [...] }