<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.phpdbg.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.phpdbg-color.php',
    1 => 'phpdbg_color',
    2 => 'Sets the color of certain elements',
  ),
  'up' => 
  array (
    0 => 'ref.phpdbg.php',
    1 => 'phpdbg Функції',
  ),
  'prev' => 
  array (
    0 => 'function.phpdbg-clear.php',
    1 => 'phpdbg_clear',
  ),
  'next' => 
  array (
    0 => 'function.phpdbg-end-oplog.php',
    1 => 'phpdbg_end_oplog',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/phpdbg/functions/phpdbg-color.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<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, PHP 8)</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"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$element</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$color</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></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><a href="phpdbg.constants.php#constant.phpdbg-color-prompt">PHPDBG_COLOR_<span class="replaceable">*</span></a></code></strong> constants.
     </p>
    </dd>
   
   
    <dt><code class="parameter">color</code></dt>
    <dd>
     <p class="para">
      The name of the color. One of <code class="literal">white</code>, <code class="literal">red</code>,
      <code class="literal">green</code>, <code class="literal">yellow</code>, <code class="literal">blue</code>,
      <code class="literal">purple</code>, <code class="literal">cyan</code> or <code class="literal">black</code>,
      optionally with either a trailing <code class="literal">-bold</code> or <code class="literal">-underline</code>,
      for instance, <code class="literal">white-bold</code> or <code class="literal">green-underline</code>.
     </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><span class="function"><a href="function.phpdbg-prompt.php" class="function" rel="rdfs-seeAlso">phpdbg_prompt()</a> - Sets the command prompt</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>