From 8f77db36dc6e720a6c9205a83589a01391346586 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Aug 2017 10:26:57 +0200 Subject: v1.0.6 --- 31.patch | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 31.patch (limited to '31.patch') diff --git a/31.patch b/31.patch deleted file mode 100644 index b9e4f72..0000000 --- a/31.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f08ca66aa96c75658ba1eb1e8918189f925553c1 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Sun, 25 Jun 2017 07:28:55 +0200 -Subject: [PATCH] IS_TYPE_IMMUTABLE is dropped in 7.2 - ---- - yaconf.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/yaconf.c b/yaconf.c -index 8faa0b6..55b6731 100644 ---- a/yaconf.c -+++ b/yaconf.c -@@ -92,7 +92,11 @@ static void php_yaconf_hash_init(zval *zv, size_t size) /* {{{ */ { - GC_FLAGS(ht) |= IS_ARRAY_IMMUTABLE; - GC_REFCOUNT(ht) = 2; - ZVAL_ARR(zv, ht); -+#if PHP_VERSION_ID < 70200 - Z_TYPE_FLAGS_P(zv) = IS_TYPE_IMMUTABLE; -+#else -+ Z_TYPE_FLAGS_P(zv) = IS_TYPE_COPYABLE; -+#endif - } - /* }}} */ - -- cgit