App下载
实例代码( Tip: 登录后体验更佳 )
<?php
$people = array("Peter", "Joe", "Glenn", "Cleveland", 23);
if (in_array("23", $people, TRUE))
&nbsp;&nbsp; {
&nbsp;&nbsp; echo "Match found<br>";
&nbsp;&nbsp; }
else
&nbsp;&nbsp; {
&nbsp;&nbsp; echo "Match not found<br>";
&nbsp;&nbsp; }
if (in_array("Glenn",$people, TRUE))
&nbsp;&nbsp; {
&nbsp;&nbsp; echo "Match found<br>";
&nbsp;&nbsp; }
else
&nbsp;&nbsp; {
&nbsp;&nbsp; echo "Match not found<br>";
&nbsp;&nbsp; }
if (in_array(23,$people, TRUE))
&nbsp;&nbsp; {
&nbsp;&nbsp; echo "Match found<br>";
&nbsp;&nbsp; }
else
&nbsp;&nbsp; {
&nbsp;&nbsp; echo "Match not found<br>";
&nbsp;&nbsp; }
?>
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
运行结果