<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.php.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'book.errorfunc.php',
    1 => 'Error Handling',
    2 => 'Error Handling and Logging',
  ),
  'up' => 
  array (
    0 => 'refs.basic.php.php',
    1 => 'Modifica del comportamento di PHP',
  ),
  'prev' => 
  array (
    0 => 'componere.cast_by_ref.php',
    1 => 'Componere\\cast_by_ref',
  ),
  'next' => 
  array (
    0 => 'errorfunc.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/errorfunc/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.errorfunc.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.errorfunc" class="book">
 
 <h1 class="title">Error Handling and Logging</h1>
 

 <div id="intro.errorfunc" class="preface">
  <h1 class="title">Introduzione</h1>
  <p class="para">
   These are functions dealing with error handling and logging. They
   allow you to define your own error handling rules, as well as modify
   the way the errors can be logged. This allows you to change and
   enhance error reporting to suit your needs.
  </p>
  <p class="para"> 
   With the logging functions, you can send messages directly to other
   machines, to an email (or email to pager gateway!), to system logs,
   etc., so you can selectively log and monitor the most important parts
   of your applications and websites.
  </p>
  <p class="para"> 
   The error reporting functions allow you to customize what level and
   kind of error feedback is given, ranging from simple notices to customized
   functions returned during errors. 
  </p>
 </div>

 






 




 






 








<ul class="chunklist chunklist_book"><li><a href="errorfunc.setup.php">Installazione/Configurazione</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="errorfunc.configuration.php">Configurazione di Runtime</a></li></ul></li><li><a href="errorfunc.constants.php">Costanti predefinite</a></li><li><a href="errorfunc.examples.php">Esempi</a></li><li><a href="ref.errorfunc.php">Error Handling Funzioni</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.debug-backtrace.php">debug_backtrace</a> — Genera un backtrace</li><li><a href="function.debug-print-backtrace.php">debug_print_backtrace</a> — Stampa una backtrace</li><li><a href="function.error-clear-last.php">error_clear_last</a> — Clear the most recent error</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> — invia un messaggio di errore</li><li><a href="function.error-reporting.php">error_reporting</a> — definisce quali errori di PHP vengono restituiti</li><li><a href="function.get-error-handler.php">get_error_handler</a> — Gets the user-defined error handler function</li><li><a href="function.get-exception-handler.php">get_exception_handler</a> — Gets the user-defined exception handler function</li><li><a href="function.restore-error-handler.php">restore_error_handler</a> — Ripristina la precedente funzione di gestione dell'errore</li><li><a href="function.restore-exception-handler.php">restore_exception_handler</a> — Ripristina la funzione di gestione delle eccezioni definita in precedenza</li><li><a href="function.set-error-handler.php">set_error_handler</a> — Configura una funzione di gestione dell'errore definita dall'utente</li><li><a href="function.set-exception-handler.php">set_exception_handler</a> — Imposta una funzione di gestione delle eccezioni definita dall'utente</li><li><a href="function.trigger-error.php">trigger_error</a> — Genera un messaggio a livello utente di errore/avviso/avvertimento message</li><li><a href="function.user-error.php">user_error</a> — Alias di trigger_error</li></ul></li></ul></div><?php manual_footer($setup); ?>