php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
phpdbg_set.c File Reference
#include "phpdbg.h"
#include "phpdbg_cmd.h"
#include "phpdbg_set.h"
#include "phpdbg_utils.h"
#include "phpdbg_bp.h"
#include "phpdbg_prompt.h"

Go to the source code of this file.

Macros

#define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags)
 

Functions

 if (!color)
 
 switch (phpdbg_get_element(param->str, param->len))
 

Variables

const phpdbg_command_t phpdbg_set_commands []
 
return SUCCESS
 

Macro Definition Documentation

◆ PHPDBG_SET_COMMAND_D

#define PHPDBG_SET_COMMAND_D ( f,
h,
a,
m,
l,
s,
flags )
Value:
char s[4]
Definition cdf.c:77
#define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags)
Definition phpdbg_cmd.h:158
const phpdbg_command_t phpdbg_prompt_commands[]
$obj a
Definition test.php:84

Definition at line 28 of file phpdbg_set.c.

Function Documentation

◆ if()

if ( ! color)

Definition at line 146 of file phpdbg_set.c.

◆ switch()

switch ( phpdbg_get_element(param->str, param->len) )

Definition at line 151 of file phpdbg_set.c.

Variable Documentation

◆ phpdbg_set_commands

const phpdbg_command_t phpdbg_set_commands[]
Initial value:
= {
PHPDBG_SET_COMMAND_D(prompt, "usage: set prompt [<string>]", 'p', set_prompt, NULL, "|s", 0),
PHPDBG_SET_COMMAND_D(pagination, "usage: set pagination [<on|off>]", 'P', set_pagination, NULL, "|b", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(color, "usage: set color <element> <color>", 'c', set_color, NULL, "ss", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(colors, "usage: set colors [<on|off>]", 'C', set_colors, NULL, "|b", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(break, "usage: set break id [<on|off>]", 'b', set_break, NULL, "l|b", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(breaks, "usage: set breaks [<on|off>]", 'B', set_breaks, NULL, "|b", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(quiet, "usage: set quiet [<on|off>]", 'q', set_quiet, NULL, "|b", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(stepping, "usage: set stepping [<line|op>]", 's', set_stepping, NULL, "|s", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(refcount, "usage: set refcount [<on|off>]", 'r', set_refcount, NULL, "|b", PHPDBG_ASYNC_SAFE),
PHPDBG_SET_COMMAND_D(lines, "usage: set lines [<number>]", 'l', set_lines, NULL, "|l", PHPDBG_ASYNC_SAFE),
}
#define NULL
Definition gdcache.h:45
short color
zend_ulong lines
Definition phpdbg.h:311
const phpdbg_color_t * colors[PHPDBG_COLORS]
Definition phpdbg.h:295
#define PHPDBG_END_COMMAND
Definition phpdbg_cmd.h:171
#define PHPDBG_ASYNC_SAFE
Definition phpdbg_cmd.h:84
#define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags)
Definition phpdbg_set.c:28
char * prompt

Definition at line 31 of file phpdbg_set.c.

◆ SUCCESS

return SUCCESS

Definition at line 175 of file phpdbg_set.c.