title: How can I ignore exception in php
body: <p>I am doing this:</p>
  
  <pre><code>try
  {
      $result=100/0;
  }
  catch(Exception $e)
  {
      $result=0;
  }
  </code></pre>
  
  <p>I am getting Division by Zero exception:</p>
  
  <blockquote>
    <p>Warning: Division by zero</p>
  </blockquote>
  
  <p>but I want to make the result zero when exception occurs. How can I do it. Thanks,</p>