<?php$array = array(1,2,3,4);$hit = array_search(1,$array);if ($hit !== FALSE){ echo "1は\$array内に存在します";}?>