Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/language.namespaces.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/langref.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'language.namespaces.php',
1 => 'Namespaces',
),
'up' =>
array (
0 => 'langref.php',
1 => 'Language Reference',
),
'prev' =>
array (
0 => 'language.oop5.serialization.php',
1 => 'Object Serialization',
),
'next' =>
array (
0 => 'language.namespaces.rationale.php',
1 => 'Namespaces overview',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>Namespaces</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="language.namespaces.rationale.php">Namespaces overview</a></li><li><a href="language.namespaces.definition.php">Defining namespaces</a></li><li><a href="language.namespaces.nested.php">Declaring sub-namespaces</a></li><li><a href="language.namespaces.definitionmultiple.php">Defining multiple namespaces in the same file</a></li><li><a href="language.namespaces.basics.php">Using namespaces: Basics</a></li><li><a href="language.namespaces.dynamic.php">Namespaces and dynamic language features</a></li><li><a href="language.namespaces.nsconstants.php">namespace keyword and __NAMESPACE__ constant</a></li><li><a href="language.namespaces.importing.php">Using namespaces: Aliasing/Importing</a></li><li><a href="language.namespaces.global.php">Global space</a></li><li><a href="language.namespaces.fallback.php">Using namespaces: fallback to global function/constant</a></li><li><a href="language.namespaces.rules.php">Name resolution rules</a></li><li><a href="language.namespaces.faq.php">FAQ: things you need to know about namespaces</a></li></ul>
</div>
<?php manual_footer(); ?>