phpdbg_color
(PHP 5 >= 5.6.0, PHP 7)
phpdbg_color — Sets the color of certain elements
Description
phpdbg_color ( int $element , string $color ) : void
Set the color
of the given element
.
Parameters
-
element
-
One of the
PHPDBG_COLOR_*
constants. -
color
-
The name of the color. One of
white
,red
,green
,yellow
,blue
,purple
,cyan
orblack
, optionally with either a trailing-bold
or-underline
, for instance,white-bold
orgreen-underline
.
Return Values
No value is returned.
See Also
- phpdbg_prompt() - Sets the command prompt
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.phpdbg-color.php