title: PHP If else statement with multiple values
body: <p>How could i write if else statement in PHP (I'm using Yii2). My problem is I have got a bunch of id. It's Something like this (56,57,58,...88),(101,102,...109) and also (201,202,...209). So in PHP how can i deal with this kind of statement? I want to make statement something like this.</p>
  
  <pre><code>if (56,57,58,...88){
  echo "test1";
  } elseif (101,102,...109){
      echo "test2";
  } elseif (201,202,...209){
      echo "test3";
  }
  </code></pre>
  
  <p>so is this possible to make it in if else statement or i have to choose another way to deal with these ids?</p>