check if a string is present in an array php code example Example: in_array <? in_array("Irix", $os); ?>