title: PHP switch and case logical control
body: <p>It possible to have logical control on case ?</p>
  
  <p>ie:</p>
  
  <pre><code>$v = 0;
  $s = 1;
  
  switch($v)
  {
      case $s &lt; $v:
          // Do some operation
          break;
      case $s &gt; $v:
          // Do some other operation
          break;
  }
  </code></pre>
  
  <p>Is there a way to do something similar ?</p>