Fixed some semantic errors
Merge pull request #690 from wryck7/fix-zend-escaper

Fixed some semantic errors