fork download
  1. <?php
  2. $fthi = array("1", "2", "3", "4", "5", "6", "8", "15", "25", "40");
  3. if (in_array("25", $fthi)) echo "25 está presente";
  4. if (in_array("35", $fthi)) echo "35 está presente";
  5.  
  6. //https://pt.stackoverflow.com/q/100963/101
Success #stdin #stdout 0.02s 24168KB
stdin
Standard input is empty
stdout
25 está presente