summaryrefslogtreecommitdiffstats
path: root/323.patch
diff options
context:
space:
mode:
Diffstat (limited to '323.patch')
-rw-r--r--323.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/323.patch b/323.patch
deleted file mode 100644
index c71590d..0000000
--- a/323.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From f798463e8359f853a62e1b66550a0fcbc6dbe194 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Thu, 21 Jun 2018 10:33:36 +0200
-Subject: [PATCH] fix for 7.3
-
----
- amqp_channel.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/amqp_channel.c b/amqp_channel.c
-index f3dba5d..032526e 100644
---- a/amqp_channel.c
-+++ b/amqp_channel.c
-@@ -101,7 +101,11 @@ static void php_amqp_destroy_fci(zend_fcall_info *fci) {
- if (fci->size > 0) {
- zval_ptr_dtor(&fci->function_name);
- if (fci->object != NULL) {
-+#if PHP_VERSION_ID >= 70300
-+ GC_DELREF(fci->object);
-+#else
- GC_REFCOUNT(fci->object)--;
-+#endif
- }
- fci->size = 0;
- }
-@@ -112,7 +116,11 @@ static void php_amqp_duplicate_fci(zend_fcall_info *source) {
-
- zval_add_ref(&source->function_name);
- if (source->object != NULL) {
-+#if PHP_VERSION_ID >= 70300
-+ GC_ADDREF(source->object);
-+#else
- GC_REFCOUNT(source->object)++;
-+#endif
- }
- }
- }