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/ref.misc.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.misc.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'ref.misc.php',
1 => 'Misc. Functions',
),
'up' =>
array (
0 => 'book.misc.php',
1 => 'Miscellaneous Functions',
),
'prev' =>
array (
0 => 'misc.constants.php',
1 => 'Predefined Constants',
),
'next' =>
array (
0 => 'function.connection-aborted.php',
1 => 'connection_aborted',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Misc. Functions</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.connection-aborted.php">connection_aborted</a> — Check whether client disconnected</li><li><a href="function.connection-status.php">connection_status</a> — Returns connection status bitfield</li><li><a href="function.connection-timeout.php">connection_timeout</a> — Check if the script timed out</li><li><a href="function.constant.php">constant</a> — Returns the value of a constant</li><li><a href="function.define.php">define</a> — Defines a named constant</li><li><a href="function.defined.php">defined</a> — Checks whether a given named constant exists</li><li><a href="function.die.php">die</a> — Equivalent to exit</li><li><a href="function.eval.php">eval</a> — Evaluate a string as PHP code</li><li><a href="function.exit.php">exit</a> — Output a message and terminate the current script</li><li><a href="function.get-browser.php">get_browser</a> — Tells what the user's browser is capable of</li><li><a href="function.halt-compiler.php">__halt_compiler</a> — Halts the compiler execution</li><li><a href="function.highlight-file.php">highlight_file</a> — Syntax highlighting of a file</li><li><a href="function.highlight-string.php">highlight_string</a> — Syntax highlighting of a string</li><li><a href="function.ignore-user-abort.php">ignore_user_abort</a> — Set whether a client disconnect should abort script execution</li><li><a href="function.pack.php">pack</a> — Pack data into binary string</li><li><a href="function.php-check-syntax.php">php_check_syntax</a> — Check the PHP syntax of (and execute) the specified file</li><li><a href="function.php-strip-whitespace.php">php_strip_whitespace</a> — Return source with stripped comments and whitespace</li><li><a href="function.show-source.php">show_source</a> — Alias of highlight_file</li><li><a href="function.sleep.php">sleep</a> — Delay execution</li><li><a href="function.sys-getloadavg.php">sys_getloadavg</a> — Gets system load average</li><li><a href="function.time-nanosleep.php">time_nanosleep</a> — Delay for a number of seconds and nanoseconds</li><li><a href="function.time-sleep-until.php">time_sleep_until</a> — Make the script sleep until the specified time</li><li><a href="function.uniqid.php">uniqid</a> — Generate a unique ID</li><li><a href="function.unpack.php">unpack</a> — Unpack data from binary string</li><li><a href="function.usleep.php">usleep</a> — Delay execution in microseconds</li></ul>
</div>
<?php manual_footer(); ?>