add support for zend_error