Improved PHP error handling even more