Find at least one needle in a haystack string, where an array of needles is supplied
I have a function that takes a string (the haystack) and an array of strings (the needles) and returns true
if at least one needle is a substring of the haystack. It didn’t take much time or effort to write it, but I’m wondering if there’s a PHP function that already does this.