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.errorfunc.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.errorfunc.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'ref.errorfunc.php',
1 => 'Error Handling Functions',
),
'up' =>
array (
0 => 'book.errorfunc.php',
1 => 'Error Handling and Logging',
),
'prev' =>
array (
0 => 'errorfunc.examples.php',
1 => 'Examples',
),
'next' =>
array (
0 => 'function.debug-backtrace.php',
1 => 'debug_backtrace',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Error Handling Functions</h1>
<div class="partintro">
<h1 class="title">See Also</h1>
<p class="para">
See also <a href="function.syslog.php" class="function">syslog()</a>.
</p>
</div>
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.debug-backtrace.php">debug_backtrace</a> — Generates a backtrace</li><li><a href="function.debug-print-backtrace.php">debug_print_backtrace</a> — Prints a backtrace</li><li><a href="function.error-get-last.php">error_get_last</a> — Get the last occurred error</li><li><a href="function.error-log.php">error_log</a> — Send an error message somewhere</li><li><a href="function.error-reporting.php">error_reporting</a> — Sets which PHP errors are reported</li><li><a href="function.restore-error-handler.php">restore_error_handler</a> — Restores the previous error handler function</li><li><a href="function.restore-exception-handler.php">restore_exception_handler</a> — Restores the previously defined exception handler function</li><li><a href="function.set-error-handler.php">set_error_handler</a> — Sets a user-defined error handler function</li><li><a href="function.set-exception-handler.php">set_exception_handler</a> — Sets a user-defined exception handler function</li><li><a href="function.trigger-error.php">trigger_error</a> — Generates a user-level error/warning/notice message</li><li><a href="function.user-error.php">user_error</a> — Alias of trigger_error</li></ul>
</div>
<?php manual_footer(); ?>