0 Replies - 14233 Views - Last Post: 14 October 2011 - 06:40 AM

[link] The Ins and Outs of PHP Exceptions

Ah.. demystifying the great exception. I wish I had this a few years back when I was banging my head against a wall!

Funny use of meme pictures for sure!

Quote

Still returning false whenever a function in your program fails? In this article, we’ll learn about PHP exceptions, and how you can use them to soup up your application’s error handling.

With the power of PHP exceptions, we can simply and easily handle different kinds of errors. Hopefully, with the help of this tutorial, you’ll be able to build from our simple example and create an even more effective way of handling your application’s errors through PHP exceptions.