<!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><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.phpdbg-clear.html">phpdbg_clear</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.phpdbg-end-oplog.html">phpdbg_end_oplog</a></div> <div class="up"><a href="ref.phpdbg.html">phpdbg Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.phpdbg-color" class="refentry"> <div class="refnamediv"> <h1 class="refname">phpdbg_color</h1> <p class="verinfo">(PHP 5 >= 5.6.0, PHP 7)</p><p class="refpurpose"><span class="refname">phpdbg_color</span> — <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">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <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> )</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">Parameters</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">Return Values</h3> <p class="para"> No value is returned. </p> </div> <div class="refsect1 seealso" id="refsect1-function.phpdbg-color-seealso"> <h3 class="title">See Also</h3> <ul class="simplelist"> <li class="member"><span class="function"><a href="function.phpdbg-prompt.html" class="function" rel="rdfs-seeAlso">phpdbg_prompt()</a> - Sets the command prompt</span></li> </ul> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.phpdbg-clear.html">phpdbg_clear</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.phpdbg-end-oplog.html">phpdbg_end_oplog</a></div> <div class="up"><a href="ref.phpdbg.html">phpdbg Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>