phpdbg_color
(PHP 5 >= 5.6.0, PHP 7, PHP 8)
phpdbg_color — Sets the color of certain elements
說明
phpdbg_color(int
$element, string $color): void
Set the color of the given element.
參數
-
element -
One of the
PHPDBG_COLOR_*constants. -
color -
The name of the color. One of
white,red,green,yellow,blue,purple,cyanorblack, optionally with either a trailing-boldor-underline, for instance,white-boldorgreen-underline.
返回值
沒有返回值。
參見
- phpdbg_prompt() - Sets the command prompt