uTools-Manuals/docs/php/phpdbg_color.html
2019-04-28 19:00:34 +08:00

82 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Sets the color of certain elements</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.phpdbg-color" class="refentry">
<div class="refnamediv">
<h1 class="refname">phpdbg_color</h1>
<p class="verinfo">(PHP 5 &gt;= 5.6.0, PHP 7)</p><p class="refpurpose"><span class="refname">phpdbg_color</span> &mdash; <span class="dc-title">Sets the color of certain elements</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.phpdbg-color-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>phpdbg_color</strong></span>
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$element</code></span>
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$color</code></span>
) : <span class="type"><span class="type void">void</span></span></div>
<p class="para rdfs-comment">
Set the <code class="parameter">color</code> of the given <code class="parameter">element</code>.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.phpdbg-color-parameters">
<h3 class="title">参数</h3>
<dl>
<dt>
<code class="parameter">element</code></dt>
<dd>
<p class="para">
One of the <strong><code>PHPDBG_COLOR_*</code></strong> constants.
</p>
</dd>
<dt>
<code class="parameter">color</code></dt>
<dd>
<p class="para">
The name of the color. One of <em>white</em>, <em>red</em>,
<em>green</em>, <em>yellow</em>, <em>blue</em>,
<em>purple</em>, <em>cyan</em> or <em>black</em>,
optionally with either a trailing <em>-bold</em> or <em>-underline</em>,
for instance, <em>white-bold</em> or <em>green-underline</em>.
</p>
</dd>
</dl>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.phpdbg-color-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
没有返回值。
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.phpdbg-color-seealso">
<h3 class="title">参见</h3>
<ul class="simplelist">
<li class="member"><span class="function"><a href="phpdbg_prompt.html" class="function" rel="rdfs-seeAlso">phpdbg_prompt()</a> - Sets the command prompt</span></li>
</ul>
</div>
</div></div></div></body></html>