PHPerKaigi 2020


(PHP 5 >= 5.6.0, PHP 7)

phpdbg_colorSets the color of certain elements


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

Set the color of the given element.

Liste de paramètres


One of the PHPDBG_COLOR_* constants.


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.

Valeurs de retour

Aucune valeur n'est retournée.

Voir aussi

add a note add a note

User Contributed Notes

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