mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
correct help for register command
This commit is contained in:
parent
e717662730
commit
640bf973ce
1 changed files with 2 additions and 2 deletions
|
@ -412,14 +412,14 @@ PHPDBG_HELP(oplog) /* {{{ */
|
||||||
PHPDBG_HELP(register) /* {{{ */
|
PHPDBG_HELP(register) /* {{{ */
|
||||||
{
|
{
|
||||||
phpdbg_help_header();
|
phpdbg_help_header();
|
||||||
phpdbg_writeln("Register any global function that accepts 0 or 1 arguments for use as a command in phpdbg console");
|
phpdbg_writeln("Register any global function for use as a command in phpdbg console");
|
||||||
phpdbg_writeln(EMPTY);
|
phpdbg_writeln(EMPTY);
|
||||||
phpdbg_notice("Examples");
|
phpdbg_notice("Examples");
|
||||||
phpdbg_writeln("\t%sregister scandir", PROMPT);
|
phpdbg_writeln("\t%sregister scandir", PROMPT);
|
||||||
phpdbg_writeln("\t%sR scandir", PROMPT);
|
phpdbg_writeln("\t%sR scandir", PROMPT);
|
||||||
phpdbg_writeln("\tWill register the scandir function for use in phpdbg");
|
phpdbg_writeln("\tWill register the scandir function for use in phpdbg");
|
||||||
phpdbg_writeln(EMPTY);
|
phpdbg_writeln(EMPTY);
|
||||||
phpdbg_writeln("Note: argument will be passed as a string to the function and the return printed to the console");
|
phpdbg_writeln("Note: arguments passed as strings, return (if present) print_r'd on console");
|
||||||
if (zend_hash_num_elements(&PHPDBG_G(registered))) {
|
if (zend_hash_num_elements(&PHPDBG_G(registered))) {
|
||||||
HashPosition position;
|
HashPosition position;
|
||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue