<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/language.variables.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'language.variables.predefined.php',
    1 => 'Predefined Variables',
    2 => 'Predefined Variables',
  ),
  'up' => 
  array (
    0 => 'language.variables.php',
    1 => 'Variables',
  ),
  'prev' => 
  array (
    0 => 'language.variables.basics.php',
    1 => 'Basics',
  ),
  'next' => 
  array (
    0 => 'language.variables.scope.php',
    1 => 'Variable scope',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'language/variables.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="language.variables.predefined" class="sect1">
   <h2 class="title">Predefined Variables</h2>
   
   <p class="para">
    PHP provides a number of
    <a href="reserved.variables.php" class="link">predefined variables</a>.
    PHP also provides an additional set of predefined arrays
    containing variables from the web server (if applicable), the
    environment, and user input. These arrays are automatically available in
    every scope. For this reason, they are often known as
    &quot;superglobals&quot;. (There is no mechanism in PHP for
    user-defined superglobals.) Refer to the
    <a href="language.variables.superglobals.php" class="link">list of superglobals</a>
    for details.
   </p>

   <blockquote class="note"><p><strong class="note">Зауваження</strong>: 
    <strong>Variable variables</strong><br />
    <p class="para">
     Superglobals cannot be used as 
     <a href="language.variables.variable.php" class="link">variable variables</a>
     inside functions or class methods.
    </p>
   </p></blockquote>

   <p class="para">
    If certain variables in <a href="ini.core.php#ini.variables-order" class="link">variables_order</a> are not set, their
    appropriate PHP predefined arrays are also left empty.
   </p>
  </div><?php manual_footer($setup); ?>