blob: 7f3d0c7e5f277aae8bcec8c553c2df9b4471e9ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From 81315368e643c714319b03809d18170adfb46021 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Fri, 6 Sep 2019 11:11:37 +0200
Subject: [PATCH] fix for 7.4
---
src/copy.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/copy.c b/src/copy.c
index 468232c..c2be302 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -127,7 +127,9 @@ static inline zend_op* uopz_copy_opcodes(zend_op_array *op_array, zval *literals
case ZEND_JMP:
case ZEND_FAST_CALL:
case ZEND_DECLARE_ANON_CLASS:
+#if PHP_VERSION_ID < 70400
case ZEND_DECLARE_ANON_INHERITED_CLASS:
+#endif
opline->op1.jmp_addr = ©[opline->op1.jmp_addr - op_array->opcodes];
break;
|