From: Bob Weinand <bobwei9@hotmail.com>
Date: Tue, 23 Sep 2014 11:04:53 +0000 (+0200)
Subject: Add notification at script end
X-Git-Tag: php-5.6.3RC1~51^2~74
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2329bc70495adfaf8070fc6194aaefa2c5999c1;p=php

Add notification at script end
---

diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index d91ef3f3f5..ed60e99c46 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -645,6 +645,7 @@ PHPDBG_COMMAND(run) /* {{{ */
 			zend_execute(EG(active_op_array) TSRMLS_CC);
 			PHPDBG_G(flags) ^= PHPDBG_IS_INTERACTIVE;
 			php_output_deactivate(TSRMLS_C);
+			phpdbg_notice("Script ended normally");
 		} zend_catch {
 			EG(active_op_array) = orig_op_array;
 			EG(opline_ptr) = orig_opline;