]> granicus.if.org Git - php/commitdiff
woops+correction in help
authorkrakjoe <joe.watkins@live.co.uk>
Mon, 24 Feb 2014 17:11:09 +0000 (17:11 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Mon, 24 Feb 2014 17:11:09 +0000 (17:11 +0000)
phpdbg_help.c
phpdbg_prompt.c

index 1796db7f60f7d38abe4f059ac923781d6adcf777..47289fb6731fcdf0a99a9a81cb310c8a2b0e5095 100644 (file)
@@ -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
 
index 09e7ae1ae56ff84b45663b987bf4399c4fe331c3..b55e5d7a591fa545c71b5272e751a9baca289495 100644 (file)
@@ -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));