diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-24 14:16:49 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-24 14:16:49 +0200 |
commit | 9053b8a4d4a4ea0d59e2300f7a6b29b6cbcdcad5 (patch) | |
tree | 7769ca8214b9fa6e52b77524dc365751fe66389c | |
parent | b0089e3c2f649af08d27acf6762c4f4a166f9710 (diff) | |
download | php-git-9053b8a4d4a4ea0d59e2300f7a6b29b6cbcdcad5.tar.gz |
Name the tag <eval> if the error id during ev cmd
-rw-r--r-- | phpdbg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -463,6 +463,11 @@ static void php_sapi_phpdbg_log_message(char *message TSRMLS_DC) /* {{{ */ * We must not request TSRM before being boot */ if (phpdbg_booted) { + if (PHPDBG_G(flags) & PHPDBG_IN_EVAL) { + phpdbg_error("eval", "msg=\"%s\"", "%s", message); + return; + } + phpdbg_error("php", "msg=\"%s\"", "%s", message); switch (PG(last_error_type)) { |