title: PHP If/ELSE or Switch/Case Statement
body: <p>I have give inputs which can be either 1 or 0</p>
  
  <pre><code>$no_required
  $on_arrival
  $schengen_visa
  $uk_visa
  $usa_visa
  </code></pre>
  
  <p>I have the Following Cases and i want to display unique message back to the user for each one of them</p>
  
  <pre><code>a b c d e
  1 0 0 0 0   No Visa Required
  0 1 0 0 0   Visa can be obtained on Arrival
  0 0 1 0 0   You need Schengen Visa
  0 0 0 1 0   You need UK visa
  0 0 0 0 1   You need US visa
  0 0 1 1 1   You need Either of the Visas
  0 0 1 1 0   You need Schengen/UK visa
  0 0 1 0 1   You need Schengen/US visa
  0 0 0 1 1   You need USA/UK visa
  </code></pre>
  
  <p>Where A B C D E F are the above variables. Which is the best and optimized way to display the results.</p>