add supporting of excluding php errors (useful for notices and warnings)