From d6d478e9f707909a1a0fc9ed028d4eef9b226846 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 5 Jul 2017 06:45:23 +0200 Subject: add patch for 7.2.0alpha3 --- 359.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 359.patch (limited to '359.patch') 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 +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); + -- cgit