blob: 6cbdffe5debdb034d9953cc9cc6d8336e3082f44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From b7dca6820a2e90b64fde3f0fe2af35f4cbffae6f Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Fri, 18 Jul 2025 06:31:34 +0200
Subject: [PATCH] drop zend_exception_get_default usage
---
mustache_exceptions.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mustache_exceptions.cpp b/mustache_exceptions.cpp
index bae387c..6e90437 100644
--- a/mustache_exceptions.cpp
+++ b/mustache_exceptions.cpp
@@ -18,7 +18,7 @@ zend_class_entry * MustacheParserException_ce_ptr;
PHP_MINIT_FUNCTION(mustache_exceptions)
{
try {
- zend_class_entry * exception_ce = zend_exception_get_default();
+ zend_class_entry * exception_ce = zend_ce_exception;
// MustacheException
zend_class_entry mustache_exception_ce;
|