hasCheck if array contains item.2.2.0has(array $value, $has);Example:if (has([1, 2, 3, 4, 5], 3)) { … }