<!DOCTYPE html>
<html>
<body>

<?php
$people = array("Bill", "Steve", "Mark", "David");

if (in_array("Mark", $people))
{
echo "匹配已找到";
}
else
{
echo "匹配未找到";
}
?>

</body>
</html>

 

世界上最美的风景,是自己努力的模样