Add basic function to dump php errors in pre tags