略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: phpdbg_color

2024-04-30

phpdbg_color

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

phpdbg_colorSets 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, cyan or black, optionally with either a trailing -bold or -underline, for instance, white-bold or green-underline.

返回值

没有返回值。

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.phpdbg-color.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3