Errors as Exceptions in PHP