PHP - Manual: phpdbg_color
2024-11-14
(PHP 5 >= 5.6.0, PHP 7, PHP 8)
phpdbg_color — Sets the color of certain elements
$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
, cyan
or black
,
optionally with either a trailing -bold
or -underline
,
for instance, white-bold
or green-underline
.
没有返回值。
官方地址:https://www.php.net/manual/en/function.phpdbg-color.php