summaryrefslogtreecommitdiffstats
path: root/0001-zif_handler-exists-in-7.2.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-21 09:42:39 +0200
committerRemi Collet <remi@remirepo.net>2018-09-21 09:42:39 +0200
commitc49544b79d2a6ca23342210626c4519d80c318a6 (patch)
tree01913272e58e94f294b0891f2676b080114160c0 /0001-zif_handler-exists-in-7.2.patch
parent8d2327fa577b4f14f63f22d951d74ccce958bba5 (diff)
update to 2.7.0beta1
add link to documentation in description and configuration file open https://github.com/xdebug/xdebug/pull/431 zif_handler in 7.2
Diffstat (limited to '0001-zif_handler-exists-in-7.2.patch')
-rw-r--r--0001-zif_handler-exists-in-7.2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-zif_handler-exists-in-7.2.patch b/0001-zif_handler-exists-in-7.2.patch
new file mode 100644
index 0000000..6a78d56
--- /dev/null
+++ b/0001-zif_handler-exists-in-7.2.patch
@@ -0,0 +1,25 @@
+From 464804a13e49ce22b499ae0243657b2e4e32a4e2 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 21 Sep 2018 09:33:19 +0200
+Subject: [PATCH] zif_handler exists in 7.2
+
+---
+ xdebug_compat.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xdebug_compat.h b/xdebug_compat.h
+index ac8741bb..938b7074 100644
+--- a/xdebug_compat.h
++++ b/xdebug_compat.h
+@@ -75,7 +75,7 @@ zend_bool xdebug_zend_hash_apply_protection_end(HashTable* ht);
+ # define XDEBUG_ZEND_CONSTANT_MODULE_NUMBER(v) ((v)->module_number)
+ # endif
+
+-# if PHP_VERSION_ID < 70300
++# if PHP_VERSION_ID < 70200
+ typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS);
+ # endif
+
+--
+2.14.4
+