How can we filter out numbers greater than 100 using PHP?

Closed due to the fact that the essence of the question is incomprehensible by the participants Max Mikheyenko , cyadvert , Alex , Cerbo , user185447 20 Oct '15 at 20:37 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    In order to weed out something, you need to have something ... - timka_s
  • I vote for closing this question as not relevant, because the question is simple, was asked more than 3 years ago, has a solution - cyadvert

2 answers 2

if (ЧИСЛО > 100) do something.

     $arr = array(); // заполняем for ($i = 0; $i < 50; $i++) $arr[] = rand(0, 1000); // чистим foreach($arr as $n => $v) if ($v > 100) unset($arr[$n]);