diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-06-26 13:35:07 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-06-26 13:35:07 +0300 |
commit | caaeb4849aa56cbbdc66ea015c11a58bd47a43ff (patch) | |
tree | ae79035283e68957177407123d7d342278e021d9 /main/main.c | |
parent | 24030d54d86e4b54055b9668d90e5680d8167094 (diff) | |
download | php-git-caaeb4849aa56cbbdc66ea015c11a58bd47a43ff.tar.gz |
Removed EG(valid_symbol_table). Used EG(active) instead.
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index d6dee64e67..90dc78d8b4 100644 --- a/main/main.c +++ b/main/main.c @@ -908,7 +908,7 @@ PHPAPI ZEND_COLD void php_verror(const char *docref, const char *params, int typ efree(docref_buf); } - if (PG(track_errors) && module_initialized && EG(valid_symbol_table) && + if (PG(track_errors) && module_initialized && EG(active) && (Z_TYPE(EG(user_error_handler)) == IS_UNDEF || !(EG(user_error_handler_error_reporting) & type))) { zval tmp; ZVAL_STRINGL(&tmp, buffer, buffer_len); @@ -1235,7 +1235,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u return; } - if (PG(track_errors) && module_initialized && EG(valid_symbol_table)) { + if (PG(track_errors) && module_initialized && EG(active)) { zval tmp; ZVAL_STRINGL(&tmp, buffer, buffer_len); |