summaryrefslogtreecommitdiffstats
path: root/8.patch
blob: 20cd623723ed514631de245aef9eacac0ef5f23c (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 5fba157143601ac723bba4a39fd92789550c375b Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 26 Jun 2018 08:26:14 +0200
Subject: [PATCH] fix for PHP 7.3

---
 php7/php_eio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/php7/php_eio.c b/php7/php_eio.c
index 991ed49..1197898 100644
--- a/php7/php_eio.c
+++ b/php7/php_eio.c
@@ -161,7 +161,9 @@ static zval * php_eio_call_method(zval *object, zend_class_entry *obj_ce, zend_f
 	} else {
 		zend_fcall_info_cache fcic;
 
+#if PHP_VERSION_ID < 70300
 		fcic.initialized = 1;
+#endif
 		if (!obj_ce) {
 			obj_ce = object ? Z_OBJCE_P(object) : NULL;
 		}