<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/reserved.variables.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'reserved.variables.session.php',
    1 => '$_SESSION',
    2 => 'Змінні сесії',
  ),
  'up' => 
  array (
    0 => 'reserved.variables.php',
    1 => 'Попередньо визначені змінні',
  ),
  'prev' => 
  array (
    0 => 'reserved.variables.request.php',
    1 => '$_REQUEST',
  ),
  'next' => 
  array (
    0 => 'reserved.variables.environment.php',
    1 => '$_ENV',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'uk',
    'path' => 'language/predefined/variables/session.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reserved.variables.session" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">$_SESSION</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">$_SESSION</span> &mdash; <span class="dc-title">Змінні сесії</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-reserved.variables.session-description">
  <h3 class="title">Опис</h3>
  <p class="para">
   Асоціативний масив (<span class="type"><a href="language.types.array.php" class="type array">array</a></span>), що містить змінні сесії, доступні
   для поточного скрипта. Детальніше про те, як їх використовувати у розділі
   <a href="ref.session.php" class="link">Функції сесії</a>.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-reserved.variables.session-notes">
  <h3 class="title">Примітки</h3>
  <blockquote class="note"><p><strong class="note">Зауваження</strong>: <p class="para">Це &quot;суперглобальна&quot; або
автоматична глобальна змінна. Тобто ця змінна доступна будь-де в скрипті та її
не потрібно оголошувати як <strong class="command">global $variable;</strong>, щоб отримати
доступ до неї всередині функції чи метода.
</p></p></blockquote>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-reserved.variables.session-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.session-start.php" class="function" rel="rdfs-seeAlso">session_start()</a> - Start new or resume existing session</span></li>
   </ul>
  </p>
 </div>


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