in_iarray

in_iarray($str, $a)

  • $str: string to check in array.
  • $a: array to check for the string.

Check if the string is in array, using case-insensitive comparison.
Function returns: bool is the string is in array or not.

Comments

Leave a Reply