PHP error handling
You can learn new stuff each day, for example we have just recently turned php errors into exceptions. It is so good, that I decided even to write about it here. Currently we do this only on development environment for safety, because the page code is quite old. Anyways, every php development should do this to get rid of php's annoying error reporting and hopefully make a better product. So enough talking, here is the code:
https://gist.github.com/3790196
more ...