diff options
Diffstat (limited to '52.patch')
-rw-r--r-- | 52.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/52.patch b/52.patch new file mode 100644 index 0000000..afaefbf --- /dev/null +++ b/52.patch @@ -0,0 +1,27 @@ +From 7ba54422a5f37fddf0088d3e3c0c82ec1640d220 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 6 Jun 2019 10:43:12 +0200 +Subject: [PATCH 1/2] fix for 7.4 + +--- + yaconf.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/yaconf.c b/yaconf.c +index dea7652..99e1265 100644 +--- a/yaconf.c ++++ b/yaconf.c +@@ -121,7 +121,11 @@ static void php_yaconf_hash_destroy(HashTable *ht) /* {{{ */ { + zend_string *key; + zval *element; + ++#if PHP_VERSION_ID < 70400 + if (((ht)->u.flags & HASH_FLAG_INITIALIZED)) { ++#else ++ if (HT_IS_INITIALIZED(ht)) { ++#endif + ZEND_HASH_FOREACH_STR_KEY_VAL(ht, key, element) { + if (key) { + free(key); + + |