#47: error handler added to handle php errors (stopping execution if happened)
Merge pull request #48 from panza-official/issue_47

#47: error handler added to handle php errors (stopping execution if happened)