PHP Array Contains

Last modified: July 18, 2021
<?php $countries = array("Hong Kong", "USA", "UK"); if (in_array("USA", $countries)) { echo "Match"; } ?>