typo fix and add zend_throw_exception_hook