How would str_contains() be different from strstr()?They differ in the return type
$instr = (bool)strstr($string1, $string2); done. No need for a new function. Brian. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php