com php-src: Do not show "Script ended normally" upon forced rerun: sapi/phpdbg/phpdbg.c

From: Date: Mon, 20 Jul 2015 16:00:42 +0000
Subject: com php-src: Do not show "Script ended normally" upon forced rerun: sapi/phpdbg/phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88058@lists.php.net to get a copy of this message
Commit: 699e641e93e2a697e8418b4f59d84227324631d2 Author: Bob Weinand <bobwei9@hotmail.com> Sat, 18 Jul 2015 20:51:25 +0200 Parents: 6435eb80190ebfee00b8731ae369dba6d14a15f2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=699e641e93e2a697e8418b4f59d84227324631d2 Log: Do not show "Script ended normally" upon forced rerun Changed paths: M sapi/phpdbg/phpdbg.c Diff: diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 3fa69cf..ffd0fa5 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/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++; }

« previous php.cvs (#88058) next »