title: Nested try catch in PHP
body: <p>Consider:</p>
  
  <pre><code>try{
      class MyException extends Exception{}
      try{
          throw new MyException;
      }
      catch(Exception $e){
          echo "1:";
          throw $e;
      }
      catch(MyException $e){
          echo "2:";
          throw $e;
      }
  }
  catch(Exception $e){
      echo get_class($e);
  }
  </code></pre>
  
  <p>I am confused with this try and catch. I am expecting a <code>2:MyException</code> result because of the second <code>try throw MyException</code>. But the actual result is <code>1:MyException</code>. What is the explanation?</p>