It contains Simple Questions and Answers in PHP
<?php $values = array("banana","apple","pear","banana"); $newvalue = "pear"; if (in_array($newvalue,$values)) { echo "$newvalue is already in the array!"; } ?>