CVS update: php3/doc/chapters
| From: | rasmus | Date: | Sun, 25 Oct 1998 15:07:32 +0000 |
| Subject: | CVS update: php3/doc/chapters | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2005@lists.php.net to get a copy of this message | ||
Date: Sunday October 25, 1998 @ 10:07
Author: rasmus
Update of /repository/php3/doc/chapters
In directory asf:/u2/tmp/cvs-serv13560/doc/chapters
Modified Files:
features.sgml
Log Message:
Improve error handling docs
Index: php3/doc/chapters/features.sgml
diff -c php3/doc/chapters/features.sgml:1.15 php3/doc/chapters/features.sgml:1.16
*** php3/doc/chapters/features.sgml:1.15 Thu Oct 8 09:48:41 1998
--- php3/doc/chapters/features.sgml Sun Oct 25 10:07:32 1998
***************
*** 200,208 ****
<sect1 id="feature-error-handling">
<title>Error handling</title>
! <simpara>
! All <link linkend="lang-expr">PHP expressions</link> can be called
! with the "@" prefix, which turns off error reporting for that
expression. If an error occured during such an expression and the
<link linkend="ini.track-errors">track_errors</link> feature
is enabled, you can find the error message in the global variable
--- 200,222 ----
<sect1 id="feature-error-handling">
<title>Error handling</title>
! <para>
! There are 4 types of errors and warnings in PHP. They are:
! <itemizedlist>
! <listitem><simpara>1 - Normal Function Errors
! <listitem><simpara>2 - Normal Warnings
! <listitem><simpara>4 - Parser Errors
! <listitem><simpara>8 - Notices (warnings you can ignore but which may imply a bug in
your code)
! </itemizedlist>
! <simpara>
! The above 4 numbers are added up to define an error reporting level. The default error reporting
! level is 7 which is 1 + 2 + 4, or everything except notices. This level can be changed in the
php3.ini
! file with the error_reporting directive. It can also be set in your Apache httpd.conf file with
the
! php3_error_reporting directive or lastly it may be set at runtime within a script using the
! <function>error_reporting</function> function.
! <simpara>
! All <link linkend="lang-expr">PHP expressions</link> can also be called
! with the "@" prefix, which turns off error reporting for that particular
expression. If an error occured during such an expression and the
<link linkend="ini.track-errors">track_errors</link> feature
is enabled, you can find the error message in the global variable
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net