diff --git a/sync.c b/sync.c index f235088..52aa4be 100644 --- a/sync.c +++ b/sync.c @@ -42,6 +42,13 @@ #define TSRMLS_FETCH() #endif +#if PHP_VERSION_ID >= 80500 +static zend_class_entry *zend_exception_get_default(void) +{ + return zend_ce_exception; +} +#endif + /* {{{ sync_module_entry */ zend_module_entry sync_module_entry = {