STR_CONTAINS
Determine if a string contains a given substring
SYNTAX
str_contains ( string $haystack , string $needle ) : bool
PARAMETERS
haystack
The string to search in.
needle
The substring to search for in the haystack.
RETURN
Returns TRUE if needle is in haystack, FALSE otherwise.
EXAMPLES
1
2
3