title: Global.asax for php
body: <p>I've been a .Net developer and a Java developer and TBH I liked .Net more when it comes to web (Except that I had to use IIS). Recently I've learned php (Amazingly simple) but I was wondering if in php you could do something like the Global.asax in .Net. I'm just looking for someway to mimic the Application_Error event.</p>