mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Merge branch 'master' of https://github.com/krakjoe/phpdbg
This commit is contained in:
commit
beea71bd25
3 changed files with 20 additions and 16 deletions
|
@ -6,6 +6,7 @@ Version 0.2.0 2013-00-00
|
|||
|
||||
1. Added "break delete <id>" command
|
||||
2. Added "break opcode <opcode>" command
|
||||
3. Added "set" command
|
||||
|
||||
Version 0.1.0 2013-11-23
|
||||
------------------------
|
||||
|
|
|
@ -48,6 +48,8 @@ const static phpdbg_color_t colors[] = {
|
|||
PHPDBG_COLOR_D("purple-bold", "1;35"),
|
||||
PHPDBG_COLOR_D("cyan", "0;36"),
|
||||
PHPDBG_COLOR_D("cyan-bold", "1;36"),
|
||||
PHPDBG_COLOR_D("yellow", "0;33"),
|
||||
PHPDBG_COLOR_D("yellow-bold", "1;33"),
|
||||
PHPDBG_COLOR_END
|
||||
}; /* }}} */
|
||||
|
||||
|
@ -254,6 +256,7 @@ PHPDBG_API void phpdbg_set_color(int element, const phpdbg_color_t *color TSRMLS
|
|||
PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
const phpdbg_color_t *color = phpdbg_get_color(name, name_length TSRMLS_CC);
|
||||
|
||||
if (color) {
|
||||
phpdbg_set_color(element, color TSRMLS_CC);
|
||||
} else PHPDBG_G(colors)[element] = colors;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue