blob: 6efa2f09aa6b9bbdfa8956265836712661b2b82f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- php_zookeeper_exceptions.c.orig 2025-01-02 06:11:14 UTC
+++ php_zookeeper_exceptions.c
@@ -39,7 +39,7 @@ void php_zk_register_exceptions()
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "ZookeeperException", NULL);
- zk_base_exception = zend_register_internal_class_ex(&ce, zend_exception_get_default());
+ zk_base_exception = zend_register_internal_class_ex(&ce, zend_ce_exception);
INIT_CLASS_ENTRY(ce, "ZookeeperOperationTimeoutException", NULL);
zk_optimeout_exception = zend_register_internal_class_ex(&ce, zk_base_exception);
|