diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-25 18:48:43 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-25 18:48:43 +0200 |
commit | bbcee18b4b6d9220d4fdcb0d69a33979a5fa84a4 (patch) | |
tree | d743c196358ecc82b8b29559d58c534cce506adb /phpdbg.c | |
parent | be5242e0fedcf23bdf56a4b1a73f8a84c5b216ce (diff) | |
download | php-git-bbcee18b4b6d9220d4fdcb0d69a33979a5fa84a4.tar.gz |
Fix phpdbg output when outputting via php with active output handlers
Diffstat (limited to 'phpdbg.c')
-rw-r--r-- | phpdbg.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -477,15 +477,7 @@ static void php_sapi_phpdbg_log_message(char *message TSRMLS_DC) /* {{{ */ case E_USER_ERROR: case E_PARSE: case E_RECOVERABLE_ERROR: - if (!(PHPDBG_G(flags) & PHPDBG_IN_EVAL)) { - phpdbg_list_file( - zend_get_executed_filename(TSRMLS_C), - 3, - zend_get_executed_lineno(TSRMLS_C)-1, - zend_get_executed_lineno(TSRMLS_C) - TSRMLS_CC - ); - } + phpdbg_list_file(zend_get_executed_filename(TSRMLS_C), 3, zend_get_executed_lineno(TSRMLS_C)-1, zend_get_executed_lineno(TSRMLS_C) TSRMLS_CC); do { switch (phpdbg_interactive(1 TSRMLS_CC)) { |