<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/language.control-structures.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'function.require-once.php',
    1 => 'require_once',
    2 => 'require_once',
  ),
  'up' => 
  array (
    0 => 'language.control-structures.php',
    1 => 'Control Structures',
  ),
  'prev' => 
  array (
    0 => 'function.include.php',
    1 => 'include',
  ),
  'next' => 
  array (
    0 => 'function.include-once.php',
    1 => 'include_once',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'language/control-structures/require-once.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.require-once" class="sect1">
 <h2 class="title">require_once</h2>
 <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p>
 <p class="para">
  The <code class="literal">require_once</code> expression is identical to
  <span class="function"><a href="function.require.php" class="function">require</a></span> except PHP will check if the file has
  already been included, and if so, not include (require) it again.
 </p>
 <p class="para">
  See the <span class="function"><a href="function.include-once.php" class="function">include_once</a></span> documentation for information
  about the <code class="literal">_once</code> behaviour, and how it differs from
  its non <code class="literal">_once</code> siblings.
 </p>

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