title: How to ignore undefined variable error in PHP
body: <p>I recently setup a new web server and I'm getting undefined variable error.
  If I use variables without initializing, it gives me an error.
  The source code did not change. Only the LAMP environment did.
  How would you solve this problem?</p>
  
  <p>Thanks</p>