From: krakjoe Date: Mon, 24 Feb 2014 17:11:09 +0000 (+0000) Subject: woops+correction in help X-Git-Tag: php-5.6.0beta2~1^2~37^2~20^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=043bfd6e2cc8290eeed5aa7a7e2ff0ab4940d42a;p=php woops+correction in help --- diff --git a/phpdbg_help.c b/phpdbg_help.c index 1796db7f60..47289fb673 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -398,7 +398,7 @@ phpdbg_help_text_t phpdbg_help_text[] = { "overridden on the command line using the **-i** switch (see **help options** for a more " "details)." CR CR -"Debugger scripts can also be executed using the **script** command." CR CR +"Debugger scripts can also be executed using the **source** command." CR CR "A script file can contain a sequence of valid debugger commands, comments and embedded PHP " "code. " CR CR @@ -430,7 +430,7 @@ phpdbg_help_text_t phpdbg_help_text[] = { " * **method#op** a valid **Class::methodName** follow by # and an integer" CR " * **string** a general string" CR " * **function** a valid **Function name**" CR -" * **File-line** a valid **filename** follow by : and an integer" CR CR +" * **file:line** a valid **filename** follow by : and an integer" CR CR "In some cases the type of the argument enables the second keyword to be omitted." CR CR @@ -491,7 +491,6 @@ phpdbg_help_text_t phpdbg_help_text[] = { "types:" CR CR " **Target** **Alias** **Purpose**" CR -" **address** **a** specify breakpoint by address" CR " **at** **A** specify breakpoint by location and condition" CR " **del** **d** delete breakpoint by breakpoint identifier number" CR CR diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 09e7ae1ae5..b55e5d7a59 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -87,7 +87,7 @@ static inline int phpdbg_call_register(phpdbg_param_t *stack TSRMLS_DC) /* {{{ * zval fname, *fretval; zend_fcall_info fci; - ZVAL_STRINGL(&fname, name->str, name->len+1, 1); + ZVAL_STRINGL(&fname, name->str, name->len, 1); memset(&fci, 0, sizeof(zend_fcall_info));