[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml examples.xml /en/reference/errorfunc/functions error-reporting.xml
nlopess Thu Jun 8 11:19:12 2006 UTC Modified files: /phpdoc/en/reference/errorfunc constants.xml examples.xml /phpdoc/en/reference/errorfunc/functionserror-reporting.xml Log: add E_RECOVERABLE_ERROR add E_STRICT to E_ALL in PHP 6 http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/errorfunc/constants.xml?r1=1.13r2=1.14diff_format=u Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.13 phpdoc/en/reference/errorfunc/constants.xml:1.14 --- phpdoc/en/reference/errorfunc/constants.xml:1.13Tue Mar 2 15:22:06 2004 +++ phpdoc/en/reference/errorfunc/constants.xml Thu Jun 8 11:19:12 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.13 $ -- +!-- $Revision: 1.14 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -172,32 +172,47 @@ entrysince PHP 4/entry /row -row id=e-all - entry2047/entry +row id=e-strict + entry2048/entry entry - constantE_ALL/constant + constantE_STRICT/constant (typeinteger/type) /entry entry - All errors and warnings, as supported, except of level - constantE_STRICT/constant. + Run-time notices. Enable to have PHP suggest changes + to your code which will ensure the best interoperability + and forward compatibility of your code. /entry - entry/entry + entrysince PHP 5/entry /row +row id=e-recoverable-error + entry4096/entry + entry + constantE_RECOVERABLE_ERROR/constant + (typeinteger/type) + /entry + entry + Catchable fatal error. It indicates that a probably dangerous error + occured, but did not leave the Engine in an unstable state. If the error + is not caught by a user defined handle (see also + functionset_error_handler/function), the application aborts as it + was an constantE_ERROR/constant. + /entry + entrysince PHP 5.2/entry +/row -row id=e-strict - entry2048/entry +row id=e-all + entry8191/entry entry - constantE_STRICT/constant + constantE_ALL/constant (typeinteger/type) /entry entry - Run-time notices. Enable to have PHP suggest changes - to your code which will ensure the best interoperability - and forward compatibility of your code. + All errors and warnings, as supported, except of level + constantE_STRICT/constant in PHP lt; 6. /entry - entrysince PHP 5/entry + entry6143 in PHP 5.2 and 2047 previously/entry /row /tbody http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/errorfunc/examples.xml?r1=1.7r2=1.8diff_format=u Index: phpdoc/en/reference/errorfunc/examples.xml diff -u phpdoc/en/reference/errorfunc/examples.xml:1.7 phpdoc/en/reference/errorfunc/examples.xml:1.8 --- phpdoc/en/reference/errorfunc/examples.xml:1.7 Mon May 10 10:39:08 2004 +++ phpdoc/en/reference/errorfunc/examples.xml Thu Jun 8 11:19:12 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- section id=errorfunc.examples reftitle.examples; para @@ -26,18 +26,19 @@ // consider are E_WARNING, E_NOTICE, E_USER_ERROR, // E_USER_WARNING and E_USER_NOTICE $errortype = array ( -E_ERROR = Error, -E_WARNING = Warning, -E_PARSE = Parsing Error, -E_NOTICE = Notice, -E_CORE_ERROR = Core Error, -E_CORE_WARNING= Core Warning, -E_COMPILE_ERROR = Compile Error, -E_COMPILE_WARNING = Compile Warning, -E_USER_ERROR = User Error, -E_USER_WARNING= User Warning, -E_USER_NOTICE = User Notice, -E_STRICT = Runtime Notice +E_ERROR = 'Error', +E_WARNING= 'Warning', +E_PARSE = 'Parsing Error', +E_NOTICE = 'Notice', +E_CORE_ERROR = 'Core Error', +E_CORE_WARNING = 'Core Warning', +E_COMPILE_ERROR = 'Compile Error', +E_COMPILE_WARNING= 'Compile Warning', +E_USER_ERROR = 'User Error', +E_USER_WARNING = 'User Warning', +E_USER_NOTICE= 'User Notice', +E_STRICT = 'Runtime Notice', +E_RECOVERABLE_ERRROR = 'Catchable Fatal Error' ); // set of errors for which a var trace will be saved $user_errors = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/errorfunc/functions/error-reporting.xml?r1=1.14r2=1.15diff_format=u Index:
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml examples.xml
didou Tue Mar 2 10:22:06 2004 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml examples.xml Log: fix for #27459 http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/constants.xml?r1=1.12r2=1.13ty=u Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.12 phpdoc/en/reference/errorfunc/constants.xml:1.13 --- phpdoc/en/reference/errorfunc/constants.xml:1.12Mon Feb 16 11:03:09 2004 +++ phpdoc/en/reference/errorfunc/constants.xml Tue Mar 2 10:22:06 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -86,7 +86,7 @@ Fatal errors that occur during PHP's initial startup. This is like an constantE_ERROR/constant, except it is generated by the core of PHP. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-core-warning @@ -100,7 +100,7 @@ This is like an constantE_WARNING/constant, except it is generated by the core of PHP. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-compile-error @@ -113,7 +113,7 @@ Fatal compile-time errors. This is like an constantE_ERROR/constant, except it is generated by the Zend Scripting Engine. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-compile-warning @@ -127,7 +127,7 @@ constantE_WARNING/constant, except it is generated by the Zend Scripting Engine. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-user-error @@ -141,7 +141,7 @@ constantE_ERROR/constant, except it is generated in PHP code by using the PHP function functiontrigger_error/function. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-user-warning @@ -155,7 +155,7 @@ constantE_WARNING/constant, except it is generated in PHP code by using the PHP function functiontrigger_error/function. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-user-notice @@ -169,7 +169,7 @@ constantE_NOTICE/constant, except it is generated in PHP code by using the PHP function functiontrigger_error/function. /entry - entryPHP 4 only/entry + entrysince PHP 4/entry /row row id=e-all @@ -197,7 +197,7 @@ to your code which will ensure the best interoperability and forward compatibility of your code. /entry - entryPHP 5 only/entry + entrysince PHP 5/entry /row /tbody http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/examples.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/reference/errorfunc/examples.xml diff -u phpdoc/en/reference/errorfunc/examples.xml:1.5 phpdoc/en/reference/errorfunc/examples.xml:1.6 --- phpdoc/en/reference/errorfunc/examples.xml:1.5 Thu Jan 15 07:42:17 2004 +++ phpdoc/en/reference/errorfunc/examples.xml Tue Mar 2 10:22:06 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- section id=errorfunc.examples reftitle.examples; para @@ -23,19 +23,21 @@ // define an assoc array of error string // in reality the only entries we should -// consider are 2,8,256,512 and 1024 +// consider are E_WARNING, E_NOTICE, E_USER_ERROR, +// E_USER_WARNING and E_USER_NOTICE $errortype = array ( -1= Error, -2= Warning, -4= Parsing Error, -8= Notice, -16 = Core Error, -32 = Core Warning, -64 = Compile Error, -128 = Compile Warning, -256 = User Error, -512 = User Warning, -1024 = User Notice +E_ERROR = Error, +E_WARNING = Warning, +E_PARSE = Parsing Error, +E_NOTICE = Notice, +E_CORE_ERROR = Core Error, +E_CORE_WARNING= Core Warning, +E_COMPILE_ERROR = Compile Error, +E_COMPILE_WARNING = Compile Warning, +E_USER_ERROR = User Error, +E_USER_WARNING= User Warning, +E_USER_NOTICE = User Notice, +E_STRICT = Runtime Notice ); // set of errors for which a var trace will be saved $user_errors = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE); @@ -57,8 +59,9 @@ // save to the error log, and e-mail me if there is a critical user error error_log($err, 3, /usr/local/php4/error.log); -if ($errno == E_USER_ERROR) +if ($errno == E_USER_ERROR) {
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml
didou Mon Feb 16 11:03:09 2004 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml Log: missing quotes http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/constants.xml?r1=1.11r2=1.12ty=u Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.11 phpdoc/en/reference/errorfunc/constants.xml:1.12 --- phpdoc/en/reference/errorfunc/constants.xml:1.11Thu Dec 11 12:15:43 2003 +++ phpdoc/en/reference/errorfunc/constants.xml Mon Feb 16 11:03:09 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -209,7 +209,7 @@ up a bitmask that specifies which errors to report. You can use the link linkend=language.operators.bitwisebitwise operators/link to combine these values or mask out certain types of errors. Note - that only '|', '~', '!', ^ and 'amp;' will be understood within + that only '|', '~', '!', '^' and 'amp;' will be understood within php.ini;, however, and that no bitwise operators will be understood within filenamephp3.ini/filename. /para
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml ini.xml
vrana Thu Dec 11 12:15:43 2003 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml ini.xml Log: Typos Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.10 phpdoc/en/reference/errorfunc/constants.xml:1.11 --- phpdoc/en/reference/errorfunc/constants.xml:1.10Sun Dec 7 11:04:35 2003 +++ phpdoc/en/reference/errorfunc/constants.xml Thu Dec 11 12:15:43 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -195,7 +195,7 @@ entry Run-time notices. Enable to have PHP suggest changes to your code which will ensure the best interoperability - and forward compatability of your code. + and forward compatibility of your code. /entry entryPHP 5 only/entry /row Index: phpdoc/en/reference/errorfunc/ini.xml diff -u phpdoc/en/reference/errorfunc/ini.xml:1.16 phpdoc/en/reference/errorfunc/ini.xml:1.17 --- phpdoc/en/reference/errorfunc/ini.xml:1.16 Sun Dec 7 11:04:35 2003 +++ phpdoc/en/reference/errorfunc/ini.xml Thu Dec 11 12:15:43 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.16 $ -- +!-- $Revision: 1.17 $ -- section id=errorfunc.configuration reftitle.runtime; extension.runtime; @@ -129,8 +129,8 @@ note paraEnabling constantE_NOTICE/constant during development has some benefits. For debugging purposes: NOTICE messages will warn you - about possibls bugs in your code. For example, use of unassigned values - are warned. It is extremely useful to find typos and + about possible bugs in your code. For example, use of unassigned values + is warned. It is extremely useful to find typos and to save time for debugging. NOTICE messages will warn you about bad style. For example, $arr[item] is better to be written as $arr['item'] since PHP tries to treat item as constant. If it is not a constant, PHP assumes
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml ini.xml /en/reference/errorfunc/functions error-reporting.xml
betzSun Dec 7 11:04:36 2003 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml ini.xml /phpdoc/en/reference/errorfunc/functionserror-reporting.xml Log: real bugfix #26472 E_STRICT available with PHP5 Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.9 phpdoc/en/reference/errorfunc/constants.xml:1.10 --- phpdoc/en/reference/errorfunc/constants.xml:1.9 Mon Dec 1 06:52:54 2003 +++ phpdoc/en/reference/errorfunc/constants.xml Sun Dec 7 11:04:35 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -172,30 +172,32 @@ entryPHP 4 only/entry /row -row id=e-strict - entry2048/entry +row id=e-all + entry2047/entry entry - constantE_STRICT/constant + constantE_ALL/constant (typeinteger/type) /entry entry - Run-time notices. Enable to have PHP suggest changes - to your code which will ensure the best interoperability - and forward compatability of your code. + All errors and warnings, as supported, except of level + constantE_STRICT/constant. /entry - entryPHP 5 only/entry + entry/entry /row -row id=e-all - entry4095/entry + +row id=e-strict + entry2048/entry entry - constantE_ALL/constant + constantE_STRICT/constant (typeinteger/type) /entry entry - All errors and warnings, as supported. + Run-time notices. Enable to have PHP suggest changes + to your code which will ensure the best interoperability + and forward compatability of your code. /entry - entryWith PHP gt;= 5.0.0 the value changed from 2047 to 4095./entry + entryPHP 5 only/entry /row /tbody Index: phpdoc/en/reference/errorfunc/ini.xml diff -u phpdoc/en/reference/errorfunc/ini.xml:1.15 phpdoc/en/reference/errorfunc/ini.xml:1.16 --- phpdoc/en/reference/errorfunc/ini.xml:1.15 Mon Dec 1 06:52:54 2003 +++ phpdoc/en/reference/errorfunc/ini.xml Sun Dec 7 11:04:35 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- section id=errorfunc.configuration reftitle.runtime; extension.runtime; @@ -17,7 +17,7 @@ tbody row entryerror_reporting/entry - entryE_ALL amp; ~E_NOTICE amp; ~E_STRICT/entry + entryE_ALL amp; ~E_NOTICE/entry entryPHP_INI_ALL/entry /row row @@ -122,15 +122,9 @@ link linkend=ini.display-errorsdisplay_errors/link directive. /para para - In PHP 4 the default value is E_ALL amp; ~E_NOTICE. This setting does - not show constantE_NOTICE/constant level errors. You may want to - show them during development. - /para - para - In PHP 5 constantE_STRICT/constant is introduced. The default value - is E_ALL amp; ~E_NOTICE amp; ~E_STRICT. This setting does not show - errors constantE_NOTICE/constant and constantE_STRICT/constant - level errors. You may want to show them during development. + In PHP 4 and PHP 5 the default value is E_ALL amp; ~E_NOTICE. This + setting does not show constantE_NOTICE/constant level errors. You + may want to show them during development. /para note paraEnabling constantE_NOTICE/constant during development has @@ -143,6 +137,17 @@ it is a string index for the array. /para /note + note + para + In PHP 5 a new error level constantE_STRICT/constant is available. + As constantE_STRICT/constant is not included within + constantE_ALL/constant you have to explicitly enable this kind of + error level. Enabling constantE_STRICT/constant during development + has some benefits. STRICT messages will help you to use the latest and + greatest suggested method of coding, for example warn you about using + deprecated functions. + /para + /note para In PHP 3, the default setting is literal(E_ERROR | E_WARNING | E_PARSE)/literal, Index: phpdoc/en/reference/errorfunc/functions/error-reporting.xml diff -u phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.6 phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.7 --- phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.6 Mon Dec 1 06:49:35 2003 +++ phpdoc/en/reference/errorfunc/functions/error-reporting.xml Sun Dec 7 11:04:36 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- !-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -- refentry id=function.error-reporting refnamediv @@ -143,17 +143,17 @@ /entry /row row + entry2047/entry + entry +
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml ini.xml
betzMon Dec 1 06:52:55 2003 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml ini.xml Log: bugfix #26472 E_STRICT added default values for error_reporting bitmask allows xor in php.ini Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.8 phpdoc/en/reference/errorfunc/constants.xml:1.9 --- phpdoc/en/reference/errorfunc/constants.xml:1.8 Tue Jun 10 12:53:37 2003 +++ phpdoc/en/reference/errorfunc/constants.xml Mon Dec 1 06:52:54 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -172,8 +172,22 @@ entryPHP 4 only/entry /row +row id=e-strict + entry2048/entry + entry + constantE_STRICT/constant + (typeinteger/type) + /entry + entry + Run-time notices. Enable to have PHP suggest changes + to your code which will ensure the best interoperability + and forward compatability of your code. + /entry + entryPHP 5 only/entry +/row + row id=e-all - entry2047/entry + entry4095/entry entry constantE_ALL/constant (typeinteger/type) @@ -181,6 +195,7 @@ entry All errors and warnings, as supported. /entry + entryWith PHP gt;= 5.0.0 the value changed from 2047 to 4095./entry /row /tbody @@ -192,7 +207,7 @@ up a bitmask that specifies which errors to report. You can use the link linkend=language.operators.bitwisebitwise operators/link to combine these values or mask out certain types of errors. Note - that only '|', '~', '!', and 'amp;' will be understood within + that only '|', '~', '!', ^ and 'amp;' will be understood within php.ini;, however, and that no bitwise operators will be understood within filenamephp3.ini/filename. /para Index: phpdoc/en/reference/errorfunc/ini.xml diff -u phpdoc/en/reference/errorfunc/ini.xml:1.14 phpdoc/en/reference/errorfunc/ini.xml:1.15 --- phpdoc/en/reference/errorfunc/ini.xml:1.14 Mon Jun 9 16:41:23 2003 +++ phpdoc/en/reference/errorfunc/ini.xml Mon Dec 1 06:52:54 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.14 $ -- +!-- $Revision: 1.15 $ -- section id=errorfunc.configuration reftitle.runtime; extension.runtime; @@ -17,7 +17,7 @@ tbody row entryerror_reporting/entry - entryE_ALL amp; ~E_NOTICE/entry + entryE_ALL amp; ~E_NOTICE amp; ~E_STRICT/entry entryPHP_INI_ALL/entry /row row @@ -122,7 +122,14 @@ link linkend=ini.display-errorsdisplay_errors/link directive. /para para - In PHP 4 the default value does not show constantE_NOTICE/constant + In PHP 4 the default value is E_ALL amp; ~E_NOTICE. This setting does + not show constantE_NOTICE/constant level errors. You may want to + show them during development. + /para + para + In PHP 5 constantE_STRICT/constant is introduced. The default value + is E_ALL amp; ~E_NOTICE amp; ~E_STRICT. This setting does not show + errors constantE_NOTICE/constant and constantE_STRICT/constant level errors. You may want to show them during development. /para note
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml
philip Tue Jun 10 12:53:37 2003 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml Log: Implement error level ids, example: link linkend=e-noticeE_NOTICE/link. Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.7 phpdoc/en/reference/errorfunc/constants.xml:1.8 --- phpdoc/en/reference/errorfunc/constants.xml:1.7 Wed May 21 06:34:22 2003 +++ phpdoc/en/reference/errorfunc/constants.xml Tue Jun 10 12:53:37 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -10,7 +10,7 @@ use the bitmask values instead. /simpara /note - table + table id=errorlevels titleErrors and Logging/title tgroup cols=4 thead @@ -22,7 +22,7 @@ /row /thead tbody -row +row id=e-error entry1/entry entry constantE_ERROR/constant @@ -36,7 +36,7 @@ entry/entry /row -row +row id=e-warning entry2/entry entry constantE_WARNING/constant @@ -49,7 +49,7 @@ entry/entry /row -row +row id=e-parse entry4/entry entry constantE_PARSE/constant @@ -62,7 +62,7 @@ entry/entry /row -row +row id=e-notice entry8/entry entry constantE_NOTICE/constant @@ -76,7 +76,7 @@ entry/entry /row -row +row id=e-core-error entry16/entry entry constantE_CORE_ERROR/constant @@ -89,7 +89,7 @@ entryPHP 4 only/entry /row -row +row id=e-core-warning entry32/entry entry constantE_CORE_WARNING/constant @@ -103,7 +103,7 @@ entryPHP 4 only/entry /row -row +row id=e-compile-error entry64/entry entry constantE_COMPILE_ERROR/constant @@ -116,7 +116,7 @@ entryPHP 4 only/entry /row -row +row id=e-compile-warning entry128/entry entry constantE_COMPILE_WARNING/constant @@ -130,7 +130,7 @@ entryPHP 4 only/entry /row -row +row id=e-user-error entry256/entry entry constantE_USER_ERROR/constant @@ -144,7 +144,7 @@ entryPHP 4 only/entry /row -row +row id=e-user-warning entry512/entry entry constantE_USER_WARNING/constant @@ -158,7 +158,7 @@ entryPHP 4 only/entry /row -row +row id=e-user-notice entry1024/entry entry constantE_USER_NOTICE/constant @@ -172,7 +172,7 @@ entryPHP 4 only/entry /row -row +row id=e-all entry2047/entry entry constantE_ALL/constant -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml examples.xml ini.xml reference.xml
betzTue Oct 8 06:44:01 2002 EDT Added files: /phpdoc/en/reference/errorfunc examples.xml Modified files: /phpdoc/en/reference/errorfunc reference.xml ini.xml constants.xml Log: contents from error-handling added Index: phpdoc/en/reference/errorfunc/reference.xml diff -u phpdoc/en/reference/errorfunc/reference.xml:1.5 phpdoc/en/reference/errorfunc/reference.xml:1.6 --- phpdoc/en/reference/errorfunc/reference.xml:1.5 Sun Sep 29 20:09:44 2002 +++ phpdoc/en/reference/errorfunc/reference.xml Tue Oct 8 06:44:00 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- reference id=ref.errorfunc titleError Handling and Logging Functions/title titleabbrevErrors and Logging/titleabbrev @@ -40,11 +40,12 @@ reference.errorfunc.constants; + reference.errorfunc.examples; + section id=errorfunc.seealso reftitle.seealso; para - Fore more Information see the section - link linkend=features.error-handlingError Handling/link. + See also functionsyslog/function. /para /section Index: phpdoc/en/reference/errorfunc/ini.xml diff -u phpdoc/en/reference/errorfunc/ini.xml:1.1 phpdoc/en/reference/errorfunc/ini.xml:1.2 --- phpdoc/en/reference/errorfunc/ini.xml:1.1 Sun Sep 29 20:09:44 2002 +++ phpdoc/en/reference/errorfunc/ini.xml Tue Oct 8 06:44:00 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- section id=errorfunc.configuration reftitle.runtime; extension.runtime; @@ -114,14 +114,23 @@ Set the error reporting level. The parameter is either an integer representing a bit field, or named constants. The error_reporting levels and constants are described in - link linkend=errorfunc.constantsPredefined Constants/link - , and in php.ini;. To set at runtime, use the + link linkend=errorfunc.constantsPredefined Constants/link, + and in php.ini;. To set at runtime, use the functionerror_reporting/function function. See also the link linkend=ini.display-errorsdisplay_errors/link directive. /para para The default value does not show constantE_NOTICE/constant level errors. You may want to show them during development. + /para + para + In PHP 4, the default setting is + literalE_ALL amp; ~E_NOTICE/literal, meaning to display all errors + and warnings which are not E_NOTICE-level. In PHP 3, the default + setting is literal(E_ERROR | E_WARNING | E_PARSE)/literal, + meaning the same thing. Note, however, that since constants are not + supported in PHP 3's filenamephp3.ini/filename, the error_reporting + setting there must be numeric; hence, it is literal7/literal. /para /listitem /varlistentry Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.4 phpdoc/en/reference/errorfunc/constants.xml:1.5 --- phpdoc/en/reference/errorfunc/constants.xml:1.4 Mon Jul 22 09:38:12 2002 +++ phpdoc/en/reference/errorfunc/constants.xml Tue Oct 8 06:44:00 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- section id=errorfunc.constants reftitle.constants; extension.constants.core; @@ -12,12 +12,13 @@ /note table titleErrors and Logging/title - tgroup cols=3 + tgroup cols=4 thead row entryValue/entry entryConstant/entry entryDescription/entry + entryNote/entry /row /thead tbody @@ -32,6 +33,7 @@ recovered from, such as a memory allocation problem. Execution of the script is halted. /entry + entry/entry /row row @@ -44,6 +46,7 @@ Run-time warnings (non-fatal errors). Execution of the script is not halted. /entry + entry/entry /row row @@ -56,6 +59,7 @@ Compile-time parse errors. Parse errors should only be generated by the parser. /entry + entry/entry /row row @@ -69,6 +73,7 @@ could indicate an error, but could also happen in the normal course of running a script. /entry + entry/entry /row row @@ -81,6 +86,7 @@ Fatal errors that occur during PHP's initial startup. This is like an constantE_ERROR/constant, except it is generated by the core of PHP. /entry + entryPHP 4 only/entry /row row @@ -92,8 +98,9 @@ entry Warnings (non-fatal errors) that occur during PHP's initial startup. This is like an constantE_WARNING/constant, except it is generated - by the core of PHP. PHP 4 only. + by the core of PHP. /entry + entryPHP 4 only/entry /row row @@ -104,8 +111,9 @@ /entry entry Fatal compile-time errors. This is like an constantE_ERROR/constant, -
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml
betzMon Jul 22 09:38:13 2002 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml Log: entity correction reformated further explanation as note Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.3 phpdoc/en/reference/errorfunc/constants.xml:1.4 --- phpdoc/en/reference/errorfunc/constants.xml:1.3 Sun Jul 14 15:34:44 2002 +++ phpdoc/en/reference/errorfunc/constants.xml Mon Jul 22 09:38:12 2002 -1,13 +1,15 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- section id=errorfunc.constants reftitle.constants; - simpara - These constants are part of the PHP core and always available. - You may use these constant names in php.ini; but not outside - of PHP, like in filenamehttpd.conf/filename, where you'd - use the bitmask values instead. - /simpara + extension.constants.core; + note + simpara +You may use these constant names in php.ini; but not outside +of PHP, like in filenamehttpd.conf/filename, where you'd +use the bitmask values instead. + /simpara + /note table titleErrors and Logging/title tgroup cols=3 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml
philip Sun Jul 14 15:34:44 2002 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml Log: Don't use these constants outside of PHP, like in httpd.conf Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.2 phpdoc/en/reference/errorfunc/constants.xml:1.3 --- phpdoc/en/reference/errorfunc/constants.xml:1.2 Sun Jul 14 15:31:59 2002 +++ phpdoc/en/reference/errorfunc/constants.xml Sun Jul 14 15:34:44 2002 -1,9 +1,12 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- section id=errorfunc.constants reftitle.constants; simpara These constants are part of the PHP core and always available. + You may use these constant names in php.ini; but not outside + of PHP, like in filenamehttpd.conf/filename, where you'd + use the bitmask values instead. /simpara table titleErrors and Logging/title -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc constants.xml reference.xml
betzMon May 6 03:15:15 2002 EDT Added files: /phpdoc/en/reference/errorfunc constants.xml Modified files: /phpdoc/en/reference/errorfunc reference.xml Log: new structure and constants extra Index: phpdoc/en/reference/errorfunc/reference.xml diff -u phpdoc/en/reference/errorfunc/reference.xml:1.2 phpdoc/en/reference/errorfunc/reference.xml:1.3 --- phpdoc/en/reference/errorfunc/reference.xml:1.2 Mon Apr 15 14:56:34 2002 +++ phpdoc/en/reference/errorfunc/reference.xml Mon May 6 03:15:15 2002 -1,10 +1,12 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- reference id=ref.errorfunc titleError Handling and Logging Functions/title titleabbrevErrors and Logging/titleabbrev partintro + section id=errorfunc.intro + reftitle.intro; para These are functions dealing with error handling and logging. They allow you to define your own error handling rules, as well as modify -22,6 +24,28 kind of error feedback is given, ranging from simple notices to customized functions returned during errors. /para + /section + + section id=errorfunc.requirenments +reftitle.required; +no.requirement; + /section + + section id=errorfunc.installation +reftitle.install; +no.install; + /section + + reference.errorfunc.constants; + + section id=errorfunc.seealso + reftitle.seealso; +para + Fore more Information see the section + link linkend=features.error-handlingError Handling/link. +/para + /section + /partintro reference.errorfunc.functions; -47,4 +71,5 vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- + Index: phpdoc/en/reference/errorfunc/constants.xml +++ phpdoc/en/reference/errorfunc/constants.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- section id=errorfunc.constants reftitle.constants; simpara These constants are part of the PHP core and always available. /simpara table titleErrors and Logging/title tgroup cols=3 thead row entryValue/entry entryConstant/entry entryDescription/entry /row /thead tbody row entry1/entry entry constantE_ERROR/constant (typeinteger/type) /entry entry Fatal run-time errors. These indicate errors that can not be recovered from, such as a memory allocation problem. Execution of the script is halted. /entry /row row entry2/entry entry constantE_WARNING/constant (typeinteger/type) /entry entry Run-time warnings (non-fatal errors). Execution of the script is not halted. /entry /row row entry4/entry entry constantE_PARSE/constant (typeinteger/type) /entry entry Compile-time parse errors. Parse errors should only be generated by the parser. /entry /row row entry8/entry entry constantE_NOTICE/constant (typeinteger/type) /entry entry Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script. /entry /row row entry16/entry entry constantE_CORE_ERROR/constant (typeinteger/type) /entry entry Fatal errors that occur during PHP's initial startup. This is like an constantE_ERROR/constant, except it is generated by the core of PHP. /entry /row row entry32/entry entry constantE_CORE_WARNING/constant (typeinteger/type) /entry entry Warnings (non-fatal errors) that occur during PHP's initial startup. This is like an constantE_WARNING/constant, except it is generated by the core of PHP. PHP 4 only. /entry /row row entry64/entry entry constantE_COMPILE_ERROR/constant (typeinteger/type) /entry entry Fatal compile-time errors. This is like an constantE_ERROR/constant, except it is generated by the Zend Scripting Engine. PHP 4 only. /entry /row row entry128/entry entry constantE_COMPILE_WARNING/constant (typeinteger/type) /entry entry Compile-time warnings (non-fatal errors). This is like an constantE_WARNING/constant, except it is generated by the Zend Scripting Engine. PHP 4 only. /entry /row row entry256/entry entry constantE_USER_ERROR/constant (typeinteger/type) /entry entry User-generated error message. This is like an constantE_ERROR/constant, except it is generated in PHP code by using the PHP function functiontrigger_error/function. PHP 4 only. /entry /row row entry512/entry entry constantE_USER_WARNING/constant (typeinteger/type) /entry entry