apparently zts needs a TSRMLS_C declaration for invocations of zend_exception_get_default()