From: Thies C. Arntzen Date: Wed, 12 Jul 2000 11:59:09 +0000 (+0000) Subject: (php_error) only set php_errormsg if we (still) have an active_symbol_table. X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~294 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88113794fd4c7e222a53d7cc8df13ad6c7f20c8f;p=php (php_error) only set php_errormsg if we (still) have an active_symbol_table. --- diff --git a/main/main.c b/main/main.c index 323bc424e4..0315918f1b 100644 --- a/main/main.c +++ b/main/main.c @@ -440,7 +440,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_ break; } - if (PG(track_errors)) { + if (PG(track_errors) && EG(active_symbol_table)) { pval *tmp; args = orig_args;