summaryrefslogtreecommitdiffstats
path: root/6.patch
diff options
context:
space:
mode:
Diffstat (limited to '6.patch')
-rw-r--r--6.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/6.patch b/6.patch
new file mode 100644
index 0000000..587c241
--- /dev/null
+++ b/6.patch
@@ -0,0 +1,22 @@
+From e3212dc9d47f834647e6c1726e50fce5c1aa1c7c Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 15 Jul 2025 15:05:20 +0200
+Subject: [PATCH] use zend_ce_exception
+
+---
+ xmldiff.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xmldiff.cpp b/xmldiff.cpp
+index 47e6210..290d733 100644
+--- a/xmldiff.cpp
++++ b/xmldiff.cpp
+@@ -280,7 +280,7 @@ PHP_MINIT_FUNCTION(xmldiff)
+
+ INIT_CLASS_ENTRY(ce, "XMLDiff\\Exception", NULL);
+ #if PHP_MAJOR_VERSION >= 7
+- XMLDiffException_ce = zend_register_internal_class_ex(&ce, zend_exception_get_default());
++ XMLDiffException_ce = zend_register_internal_class_ex(&ce, zend_ce_exception);
+ #else
+ XMLDiffException_ce = zend_register_internal_class_ex(
+ &ce, NULL, "exception" TSRMLS_CC