title: Customizing PHP error messages
body: <p>I want to change the following <code>PHP</code> error message so that user does not see this error and I would like to display an error which is more understandable by the user.</p>
  
  <p>For example consider this error which I want to edit,</p>
  
  <pre><code>Notice: Undefined index: user_input on line 33
  </code></pre>
  
  <p>I want to display the following error message instead of the above default error message,</p>
  
  <pre><code>Process failed
  </code></pre>
  
  <p>How can I implement this on my website?</p>