title: Is it possible to use for loop inside a switch?
body: <p>I'm attempting something like the following:</p>
  
  <pre><code> switch ($p) {
      foreach ($modules as $m) {
      case '"'.$mod.'"':
      include 'modules/'.$m.'/cases.php';
      break;
      }
   }
  </code></pre>
  
  <p>but can't get it to work. Is it possible to use a for loop in this manner, inside a switch?</p>