title: finally exception gives an error php
body: <p>I am trying to learn PHP, and i just moved to Exceptions and when i
  try a example from </p>
  
  <p><a href="http://php.net/manual/en/language.exceptions.php" rel="nofollow">http://php.net/manual/en/language.exceptions.php</a></p>
  
  <p><code>Example #2 Exception handling with a finally block</code></p>
  
  <p>And i get an error</p>
  
  <p><code>Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\test\filename.php on line 13</code></p>
  
  <pre><code>&lt;?php
  function inverse($x) {
      if (!$x) {
          throw new Exception('Division by zero.');
      }
      else return 1/$x;
  }
  
  try {
      echo inverse(5) . "\n";
  } catch (Exception $e) {
      echo 'Caught exception: ',  $e-&gt;getMessage(), "\n";
  } finally {
      echo "First finally.\n";
  }
  
  try {
      echo inverse(0) . "\n";
  } catch (Exception $e) {
      echo 'Caught exception: ',  $e-&gt;getMessage(), "\n";
  } finally {
      echo "Second finally.\n";
  }
  
  // Continue execution
  echo 'Hello World';
  </code></pre>