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/function.date-add.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.datetime.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.date-add.php',
1 => 'date_add',
),
'up' =>
array (
0 => 'ref.datetime.php',
1 => 'Date/Time Functions',
),
'prev' =>
array (
0 => 'function.checkdate.php',
1 => 'checkdate',
),
'next' =>
array (
0 => 'function.date-create-from-format.php',
1 => 'date_create_from_format',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.date-add" class="refentry">
<div class="refnamediv">
<h1 class="refname">date_add</h1>
<p class="verinfo">(PHP 5 >= 5.3.0)</p><p class="refpurpose"><span class="refname">date_add</span> — <span class="dc-title">Alias of <span class="methodname"><a href="datetime.add.php" class="function">DateTime::add</a></span></span></p>
</div>
<a name="function.date-add.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<p class="para">
This function is an alias of: <span class="methodname"><a href="datetime.add.php" class="function">DateTime::add</a></span>
</p>
</div>
</div><?php manual_footer(); ?>