title: 0 in switch case?
body: <p>Sorry for maybe dumb question, but i have HUGE problem with one case when i have some int variable with value of 0(zero).</p>
  
  <pre><code>            switch ($starost_vozila){
                  case (0):
                      switch ($podaci['tip_motora']){
                          case ("motor1"):
                              $eko_taksa = 485;
                          break;
                          case ("motor2"):
                              $eko_taksa = 243;
                          break;
                          case ("motor3"):
                              $eko_taksa = 121;
                          break;
                          case ("motor4"):
                              $eko_taksa = 194;
                          break;
                      }
                  break;
                  case ($starost_vozila &lt; 6):
                      switch ($podaci['tip_motora']){
                          case ("motor1"):
                              $eko_taksa = 485;
                          break;
                          case ("motor2"):
                              $eko_taksa = 243;
                          break;
                          case ("motor3"):
                              $eko_taksa = 121;
                          break;
                          case ("motor4"):
                              $eko_taksa = 194;
                          break;
                      }
                  break;
                  case ($starost_vozila &gt; 5 &amp;&amp; $starost_vozila &lt; 11):
                      switch ($podaci['tip_motora']){
                          case ("motor1"):
                              $eko_taksa = 667;
                          break;
                          case ("motor2"):
                              $eko_taksa = 273;
                          break;
                          case ("motor3"):
                              $eko_taksa = 136;
                          break;
                          case ("motor4"):
                              $eko_taksa = 218;
                          break;
                      }
                  break;
  </code></pre>
  
  <p>Switch continue more, but here is my problem, in this piece of code.</p>
  
  <p>If i dont put "case (0):" and use this:</p>
  
  <pre><code>case ($starost_vozila &gt;= 0 &amp;&amp; $starost_vozila &lt; 6):
  </code></pre>
  
  <p>Then the case that is next will somehow become active and it will print out that "$eko_taksa = 667;".</p>
  
  <p>That is all problem when "$starost_vozila = 0" but when it is any number less then 6 than this case above works.</p>
  
  <p>Every var here is int. Everything works ok except when "$starost_vozila = 0" <strong>and when i use</strong> "case ($starost_vozila >= 0 &amp;&amp; $starost_vozila &lt; 6):".</p>
  
  <p>I have no idea what is going on... Oo</p>
  
  <p>Sorry if this is dumb question. :(</p>