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);