From 548d8a156380a50d1566c0ab940bc74f4b9e212c Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Wed, 3 Apr 2002 03:22:17 +0000 Subject: [PATCH] error_reporting: Document E_ALL. Rewrite second example for only PHP 4. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76367 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/phpdevel.xml | 10 +++++++++- functions/errorfunc.xml | 24 ++++++++++++------------ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/appendices/phpdevel.xml b/appendices/phpdevel.xml index 3212d003ca..11d0420e4a 100644 --- a/appendices/phpdevel.xml +++ b/appendices/phpdevel.xml @@ -1,5 +1,5 @@ - + Extending PHP 3 @@ -882,6 +882,14 @@ php3_list_delete(resource_id->value.lval); generate this type of error. + + + E_ALL + + All of the above. Using this error_reporting level will show + all error types. + + diff --git a/functions/errorfunc.xml b/functions/errorfunc.xml index 46890e1711..2c2a0166de 100644 --- a/functions/errorfunc.xml +++ b/functions/errorfunc.xml @@ -1,5 +1,5 @@ - + Error Handling and Logging Functions Errors and Logging @@ -237,6 +237,12 @@ error_reporting (E_ALL ^ E_NOTICE); // The same in both PHP 3 and 4 E_USER_NOTICE + + 2047 + + E_ALL + + @@ -246,24 +252,18 @@ error_reporting (E_ALL ^ E_NOTICE); // The same in both PHP 3 and 4 <function>error_reporting</function> examples