Browse Source

Do not show "Script ended normally" upon forced rerun

pull/1428/head
Bob Weinand 11 years ago
parent
commit
699e641e93
  1. 6
      sapi/phpdbg/phpdbg.c

6
sapi/phpdbg/phpdbg.c

@ -1814,8 +1814,10 @@ phpdbg_out:
php_request_shutdown(NULL);
} zend_end_try();
if ((PHPDBG_G(flags) & (PHPDBG_IS_QUITTING | PHPDBG_IS_RUNNING)) == PHPDBG_IS_RUNNING && !quit_immediately) {
phpdbg_notice("stop", "type=\"normal\"", "Script ended normally");
if ((PHPDBG_G(flags) & (PHPDBG_IS_QUITTING | PHPDBG_IS_RUNNING)) == PHPDBG_IS_RUNNING) {
if (!quit_immediately && !phpdbg_startup_run) {
phpdbg_notice("stop", "type=\"normal\"", "Script ended normally");
}
cleaning++;
}

Loading…
Cancel
Save