title: Conditional switch statements in PHP
body: <p>I'm quite used to vb.net's <a href="http://msdn.microsoft.com/en-us/library/cy37t14y%28v=vs.71%29.aspx" rel="noreferrer"><code>Select Case</code></a> syntax which is essentially a switch statement, where you can do things like <code>Case Is &gt; 5</code> and if it matches, it will execute that case.</p>
  
  <p>How can I do what I'm going to call "conditional switch statements" since I don't know the actual name, in PHP?</p>
  
  <p>Or, what's a quick way to manage this?</p>
  
  <pre><code>switch($test)
  {
      case &lt; 0.1:
          // do stuff
          break;
  }
  </code></pre>
  
  <p>That's what I've tried currently.</p>