We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6435eb8 commit 699e641Copy full SHA for 699e641
sapi/phpdbg/phpdbg.c
@@ -1814,8 +1814,10 @@ int main(int argc, char **argv) /* {{{ */
1814
php_request_shutdown(NULL);
1815
} zend_end_try();
1816
1817
- if ((PHPDBG_G(flags) & (PHPDBG_IS_QUITTING | PHPDBG_IS_RUNNING)) == PHPDBG_IS_RUNNING && !quit_immediately) {
1818
- 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) {
1819
+ phpdbg_notice("stop", "type=\"normal\"", "Script ended normally");
1820
+ }
1821
cleaning++;
1822
}
1823
0 commit comments