summaryrefslogtreecommitdiffstats
path: root/0001-use-zend_ce_exception-instead-of-zend_exception_get_.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-use-zend_ce_exception-instead-of-zend_exception_get_.patch')
-rw-r--r--0001-use-zend_ce_exception-instead-of-zend_exception_get_.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/0001-use-zend_ce_exception-instead-of-zend_exception_get_.patch b/0001-use-zend_ce_exception-instead-of-zend_exception_get_.patch
deleted file mode 100644
index dcbe573..0000000
--- a/0001-use-zend_ce_exception-instead-of-zend_exception_get_.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 5e800d53c8430aff7bc0e0422e7c86eea370570f Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Thu, 17 Jul 2025 15:07:36 +0200
-Subject: [PATCH] use zend_ce_exception instead of zend_exception_get_default()
- for 8.5
-
----
- luasandbox.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/luasandbox.c b/luasandbox.c
-index d4f71e7..4d65a26 100644
---- a/luasandbox.c
-+++ b/luasandbox.c
-@@ -247,7 +247,7 @@ PHP_MINIT_FUNCTION(luasandbox)
- "PERCENT", sizeof("PERCENT")-1, LUASANDBOX_PERCENT);
-
- INIT_CLASS_ENTRY(ce, "LuaSandboxError", luasandbox_empty_methods);
-- luasandboxerror_ce = compat_zend_register_internal_class_ex(&ce, zend_exception_get_default());
-+ luasandboxerror_ce = compat_zend_register_internal_class_ex(&ce, zend_ce_exception);
- zend_declare_class_constant_long(luasandboxerror_ce,
- "RUN", sizeof("RUN")-1, LUA_ERRRUN);
- zend_declare_class_constant_long(luasandboxerror_ce,
---
-2.50.1
-