mirror of
https://github.com/php/php-src.git
synced 2026-03-31 04:32:19 +02:00
blurb/version/issues string
This commit is contained in:
4
phpdbg.c
4
phpdbg.c
@@ -379,6 +379,10 @@ int main(int argc, char *argv[]) /* {{{ */
|
||||
ini_entries_len += sizeof(phpdbg_ini_hardcoded) - 2;
|
||||
|
||||
phpdbg->ini_entries = ini_entries;
|
||||
|
||||
printf("[Welcome to phpdbg, the interactive PHP debugger, v%s]\n", PHPDBG_VERSION);
|
||||
printf("To get help using phpdbg type \"help\" and press enter\n");
|
||||
printf("[Please report bugs to <%s>]\n", PHPDBG_ISSUES);
|
||||
|
||||
if (phpdbg->startup(phpdbg) == SUCCESS) {
|
||||
zend_activate(TSRMLS_C);
|
||||
|
||||
4
phpdbg.h
4
phpdbg.h
@@ -63,6 +63,10 @@
|
||||
#define PHPDBG_IS_QUIET 0x00100000
|
||||
#define PHPDBG_IS_QUITTING 0x01000000 /* }}} */
|
||||
|
||||
/* {{{ strings */
|
||||
#define PHPDBG_ISSUES "http://github.com/krakjoe/phpdbg/issues"
|
||||
#define PHPDBG_VERSION "0.0.0" /* }}} */
|
||||
|
||||
typedef struct _phpdbg_command_t phpdbg_command_t;
|
||||
|
||||
ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
|
||||
|
||||
@@ -453,7 +453,7 @@ static PHPDBG_COMMAND(clear) /* {{{ */
|
||||
|
||||
static PHPDBG_COMMAND(help) /* {{{ */
|
||||
{
|
||||
printf("[Welcome to phpdbg, the interactive PHP debugger.]\n");
|
||||
printf("[Welcome to phpdbg, the interactive PHP debugger, v%s]\n", PHPDBG_VERSION);
|
||||
|
||||
if (!expr_len) {
|
||||
const phpdbg_command_t *prompt_command = phpdbg_prompt_commands;
|
||||
@@ -477,7 +477,7 @@ static PHPDBG_COMMAND(help) /* {{{ */
|
||||
printf("failed to find help command: %s\n", expr);
|
||||
}
|
||||
}
|
||||
printf("[Please report bugs to <https://github.com/krakjoe/phpdbg/issues>]\n");
|
||||
printf("[Please report bugs to <%s>]\n", PHPDBG_ISSUES);
|
||||
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
|
||||
Reference in New Issue
Block a user