diff options
author | Remi Collet <remi@remirepo.net> | 2017-07-05 06:45:23 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-07-05 06:45:23 +0200 |
commit | d6d478e9f707909a1a0fc9ed028d4eef9b226846 (patch) | |
tree | 8ffddb8fd6c118eab0fbfcbbfe4be54871f7e8f3 /359.patch | |
parent | 6b96ebb64092abd2d50c396c30abc0d1d7c2f74b (diff) |
add patch for 7.2.0alpha3
Diffstat (limited to '359.patch')
-rw-r--r-- | 359.patch | 26 |
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); + |