original_string: public static function containsCaseless($haystack, $needles)
      {
          foreach ((array) $needles as $needle) {
              $needle = preg_quote($needle);
              if ($needle != '' && preg_match("/$needle/iu", $haystack)) {
                  return true;
              }
          }
  
          return false;
      }
code: public static function containsCaseless($haystack, $needles)
      {
          foreach ((array) $needles as $needle) {
              $needle = preg_quote($needle);
              if ($needle != '' && preg_match("/$needle/iu", $haystack)) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public static function containsCaseless ( $ haystack , $ needles ) { foreach ( ( array ) $ needles as $ needle ) { $ needle = preg_quote ( $ needle ) ; if ( $ needle != '' && preg_match ( "/$needle/iu" , $ haystack ) ) { return true ; } } return false ; }
docstring: Taken from Illuminate\Support\Str
  Determine if a given string contains a given word with case insensitive match.
  
  @param string       $haystack
  @param string|array $needles
  
  @return bool
docstring_tokens: Taken from Illuminate \ Support \ Str Determine if a given string contains a given word with case insensitive match .