]> granicus.if.org Git - php/commitdiff
Add <intros> tag around <intro /> tags
authorBob Weinand <bobwei9@hotmail.com>
Wed, 8 Oct 2014 22:25:25 +0000 (00:25 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Wed, 8 Oct 2014 22:25:25 +0000 (00:25 +0200)
phpdbg.c
xml.md

index 3f2a209df7fef85191e6f0cb662d27db4ae28d16..6a9a60ad33d91a6fc7c259495baa27e48d963a6f 100644 (file)
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -733,9 +733,11 @@ static void phpdbg_welcome(zend_bool cleaning TSRMLS_DC) /* {{{ */
 {
        /* print blurb */
        if (!cleaning) {
+               phpdbg_xml("<intros>");
                phpdbg_notice("intro", "version=\"%s\"", "Welcome to phpdbg, the interactive PHP debugger, v%s", PHPDBG_VERSION);
                phpdbg_writeln("intro", "help=\"help\"", "To get help using phpdbg type \"help\" and press enter");
                phpdbg_notice("intro", "report=\"%s\"", "Please report bugs to <%s>", PHPDBG_ISSUES);
+               phpdbg_xml("</intros>");
        } else {
                if (!(PHPDBG_G(flags) & PHPDBG_WRITE_XML)) {
                        phpdbg_notice(NULL, NULL, "Clean Execution Environment");
diff --git a/xml.md b/xml.md
index 83bd364626d533b6288893baaef2bff2c88d8002..bd3adc7a5dc272d01928eb8fa61d572eb7df70db 100644 (file)
--- a/xml.md
+++ b/xml.md
@@ -69,6 +69,7 @@ intro
 - appears on startup if -q flag wasn't provided as command line arg
 - before any input possibility
 - attributes may be spread over multiple tags
+- wrapped in <intros> tag
 
 ### attributes ###