in_array() function is a control statement.
<? $language = "French"; $languages = array ("English", "Gaelic", "Spanish"); if (in_array($language, $languages)) : print "$language edition."; else : print "We don't yet offer a $language edition"; endif; ?>