diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-10-05 12:20:06 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-10-05 12:20:06 +0200 |
commit | abfd811ea40cda928a70664b33e5c25f005b3e99 (patch) | |
tree | fcfe2ca59cddc6d4d474db72cae7bf8c75d1dde1 /sapi/phpdbg/phpdbg_help.c | |
parent | cc2a0dd01899bcd6cfda557faecd4758544ad5b3 (diff) | |
parent | 4790da5475c80469eeaac777f3f04815648e3d96 (diff) | |
download | php-git-abfd811ea40cda928a70664b33e5c25f005b3e99.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'sapi/phpdbg/phpdbg_help.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_help.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sapi/phpdbg/phpdbg_help.c b/sapi/phpdbg/phpdbg_help.c index 40716299d4..a3bcbd10a1 100644 --- a/sapi/phpdbg/phpdbg_help.c +++ b/sapi/phpdbg/phpdbg_help.c @@ -829,21 +829,19 @@ phpdbg_help_text_t phpdbg_help_text[] = { {"run", "Enter the vm, starting execution. Execution will then continue until the next breakpoint " -"or completion of the script. Add parameters you want to use as $argv" CR CR +"or completion of the script. Add parameters you want to use as $argv. Add a trailing " +"**< filename** for reading STDIN from a file." CR CR "**Examples**" CR CR " $P run" CR " $P r" CR " Will cause execution of the context, if it is set" CR CR -" $P r test" CR -" Will execute with $argv[1] == \"test\"" CR CR +" $P r test < foo.txt" CR +" Will execute with $argv[1] == \"test\" and read from the foo.txt file for STDIN" CR CR "Note that the execution context must be set. If not previously compiled, then the script will " -"be compiled before execution." CR CR - -"Note that attempting to run a script that is already executing will result in an \"execution " -"in progress\" error." +"be compiled before execution." }, {"set", |