<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.misc.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.connection-status.php',
    1 => 'connection_status',
    2 => 'Returns connection status bitfield',
  ),
  'up' => 
  array (
    0 => 'ref.misc.php',
    1 => 'Функції Misc.',
  ),
  'prev' => 
  array (
    0 => 'function.connection-aborted.php',
    1 => 'connection_aborted',
  ),
  'next' => 
  array (
    0 => 'function.constant.php',
    1 => 'constant',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/misc/functions/connection-status.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.connection-status" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">connection_status</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">connection_status</span> &mdash; <span class="dc-title">Returns connection status bitfield</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.connection-status-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>connection_status</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Gets the connection status bitfield.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.connection-status-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">У цієї функції немає
параметрів.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.connection-status-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns the connection status bitfield, which can be used against the
   <a href="misc.constants.php" class="link"><strong><code><a href="misc.constants.php#constant.connection-aborted">CONNECTION_<span class="replaceable">*</span></a></code></strong></a>
   constants to determine the connection status.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.connection-status-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.connection-aborted.php" class="function" rel="rdfs-seeAlso">connection_aborted()</a> - Check whether client disconnected</span></li>
    <li><span class="function"><a href="function.ignore-user-abort.php" class="function" rel="rdfs-seeAlso">ignore_user_abort()</a> - Set whether a client disconnect should abort script execution</span></li>
    <li>
     <a href="features.connection-handling.php" class="link">Connection Handling</a>
     for a complete description of connection handling in PHP.
    </li>
   </ul>
  </p>
 </div>


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