PHP 8.4.2 Released!

phpdbg_color

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

phpdbg_colorSets the color of certain elements

Beschreibung

phpdbg_color(int $element, string $color): void

Set the color of the given element.

Parameter-Liste

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.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top