//in_array() function determines whether or not an element exists in an array, returning true if it does,
//and false otherwise.
//Its syntax is: bool in_array(mixed element, array array)
$languages = array ("English", "Gaelic", "Spanish");
$exists = in_array("Russian", $languages);
print $exists;
print '
';
$exists = in_array("English", $languages);
print $exists;
?>