<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.outcontrol.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'outcontrol.constants.php',
    1 => 'Попередньо визначені константи',
    2 => 'Попередньо визначені константи',
  ),
  'up' => 
  array (
    0 => 'book.outcontrol.php',
    1 => 'Output Control',
  ),
  'prev' => 
  array (
    0 => 'outcontrol.configuration.php',
    1 => 'Налаштування під час виконання',
  ),
  'next' => 
  array (
    0 => 'outcontrol.output-buffering.php',
    1 => 'Output Buffering',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/outcontrol/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="outcontrol.constants" class="appendix">
 <h1 class="title">Попередньо визначені константи</h1>

 <p class="simpara">
Константи, описані нижче, завжди доступні, бо є частиною ядра PHP.
</p>
 <dl id="outcontrol.constants.flags-passed-to-handler">
  <strong class="title">Status flags passed to output handler</strong>
  <p class="para">
   The following flags are passed to the second (<code class="parameter">phase</code>) parameter of the output handler set by <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> as part of a bitmask:
  </p>
  
   <dt id="constant.php-output-handler-start">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-start">PHP_OUTPUT_HANDLER_START</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that output buffering has begun.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-write">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-write">PHP_OUTPUT_HANDLER_WRITE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the output buffer is being flushed, and had data to output.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-flush">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-flush">PHP_OUTPUT_HANDLER_FLUSH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the buffer has been flushed.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-clean">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-clean">PHP_OUTPUT_HANDLER_CLEAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the output buffer has been cleaned.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-final">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-final">PHP_OUTPUT_HANDLER_FINAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that this is the final output buffering operation.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-cont">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-cont">PHP_OUTPUT_HANDLER_CONT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the buffer has been flushed, but output buffering will
     continue.
    </p>
    <p class="para">
     This is an alias for
     <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-write">PHP_OUTPUT_HANDLER_WRITE</a></code></strong>.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-end">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-end">PHP_OUTPUT_HANDLER_END</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that output buffering has ended.
    </p>
    <p class="para">
     This is an alias for
     <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-final">PHP_OUTPUT_HANDLER_FINAL</a></code></strong>.
    </p>
   </dd>
  
 </dl>
 <dl id="outcontrol.constants.buffer-control-flags">
  <strong class="title">Output buffer control flags</strong>
  <p class="para">
   The following flags can be passed to the third (<code class="parameter">flags</code>) parameter of the output handler set by <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> as a bitmask:
  </p>
  
   <dt id="constant.php-output-handler-cleanable">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-cleanable">PHP_OUTPUT_HANDLER_CLEANABLE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Controls whether an output buffer created by
     <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> can be cleaned
     by <span class="function"><a href="function.ob-clean.php" class="function">ob_clean()</a></span>.
     This flag does not control the behaviour of
     <span class="function"><a href="function.ob-end-clean.php" class="function">ob_end_clean()</a></span> or <span class="function"><a href="function.ob-get-clean.php" class="function">ob_get_clean()</a></span>.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-flushable">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-flushable">PHP_OUTPUT_HANDLER_FLUSHABLE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Controls whether an output buffer created by
     <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> can be flushed
     by <span class="function"><a href="function.ob-flush.php" class="function">ob_flush()</a></span>.
     This flag does not control the behaviour of
     <span class="function"><a href="function.ob-end-flush.php" class="function">ob_end_flush()</a></span> or <span class="function"><a href="function.ob-get-flush.php" class="function">ob_get_flush()</a></span>.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-removable">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-removable">PHP_OUTPUT_HANDLER_REMOVABLE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Controls whether an output buffer created by
     <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> can be removed before the end of the script
     or when calling <span class="function"><a href="function.ob-end-clean.php" class="function">ob_end_clean()</a></span>, <span class="function"><a href="function.ob-end-flush.php" class="function">ob_end_flush()</a></span>,
     <span class="function"><a href="function.ob-get-clean.php" class="function">ob_get_clean()</a></span> or <span class="function"><a href="function.ob-get-flush.php" class="function">ob_get_flush()</a></span>.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-stdflags">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-stdflags">PHP_OUTPUT_HANDLER_STDFLAGS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     The default set of output buffer flags; currently equivalent to
     <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-cleanable">PHP_OUTPUT_HANDLER_CLEANABLE</a></code></strong> |
     <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-flushable">PHP_OUTPUT_HANDLER_FLUSHABLE</a></code></strong> |
     <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-removable">PHP_OUTPUT_HANDLER_REMOVABLE</a></code></strong>.
    </p>
   </dd>
  
 </dl>
 <dl id="outcontrol.constants.flags-returned-by-handler">
  <strong class="title">Output handler status flags</strong>
  <p class="para">
   The following flags are part of the <code class="literal">flags</code> bitmask
   returned by <span class="function"><a href="function.ob-get-status.php" class="function">ob_get_status()</a></span>:
  </p>
  
   <dt id="constant.php-output-handler-started">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-started">PHP_OUTPUT_HANDLER_STARTED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the output handler was called.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-disabled">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-disabled">PHP_OUTPUT_HANDLER_DISABLED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the output handler is disabled.
     This flag is set when the output handler returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
     or fails while processing the buffer.
     Prior to PHP 8.4.0, this flag could be set when starting an output buffer.
    </p>
   </dd>
  
  
   <dt id="constant.php-output-handler-processed">
    <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-processed">PHP_OUTPUT_HANDLER_PROCESSED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     Indicates that the output handler successfully processed the buffer.
     Available as of PHP 8.4.0.
    </p>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>