<?php

$people = array("Peter", "Joe", "Glenn", "Cleveland");

if(in_array("Glenn",$people)){

  echo "Match found";

}else{

  echo "Match not found";

}

?>
View Code

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2021-05-23
  • 2021-12-16
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-11-05
  • 2022-12-23
  • 2021-08-31
  • 2021-12-10
相关资源
相似解决方案