summaryrefslogtreecommitdiffstats
path: root/359.patch
diff options
context:
space:
mode:
Diffstat (limited to '359.patch')
-rw-r--r--359.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/359.patch b/359.patch
new file mode 100644
index 0000000..fe48fd3
--- /dev/null
+++ b/359.patch
@@ -0,0 +1,26 @@
+From 1a7c4d9b50575e2738984bcaea1684d12535078d Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 5 Jul 2017 06:17:17 +0200
+Subject: [PATCH] Used EG(active) instead of Removed EG(valid_symbol_table) -
+ 7.2.0alpha3
+
+---
+ xdebug_stack.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/xdebug_stack.c b/xdebug_stack.c
+index 0e5b34ad..15bf5e82 100644
+--- a/xdebug_stack.c
++++ b/xdebug_stack.c
+@@ -800,7 +800,11 @@ void xdebug_error_cb(int type, const char *error_filename, const uint error_line
+ break;
+ }
+
++#if PHP_VERSION_ID >= 70200
++ if (PG(track_errors) && EG(active)) {
++#else
+ if (PG(track_errors) && EG(valid_symbol_table)) {
++#endif
+ zval tmp;
+ ZVAL_STRINGL(&tmp, buffer, buffer_len);
+