International PHP Conference Munich 2025

phpdbg_color

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

phpdbg_color特定の要素に色を設定する

説明

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

指定された elementcolor を設定します。

パラメータ

element

定数 PHPDBG_COLOR_* のうちのひとつを指定します。

color

色の名前。 white, red, green, yellow, blue, purple, cyan, black のうちのいずれかを指定します。 オプションで、これらの色の後に -bold-underline を付加できます。 たとえば、 white-bold とか green-underline のようなものです。

戻り値

値を返しません。

参考

add a note

User Contributed Notes

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant