Re: Exceptions and a real example: Tidy
| From: | Derick Rethans | Date: | Fri, 16 Apr 2004 07:32:48 +0000 |
| Subject: | Re: Exceptions and a real example: Tidy | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9249@lists.php.net to get a copy of this message | ||
On Thu, 15 Apr 2004, John Coggeshall wrote:
> - All errors were re-evaluated, and those (such as a bogus config
> option) were demoted to E_NOTICE or promoted to E_ERROR as
> necessary
> - Those errors which are truly E_WARNING will behave as such when
> called from a procedural context. If called from an object oriented
> context, they will be represented as exceptions.
Do you mean E_ERRORS become exceptions or also E_WARNINGS? E_WARNINGS
should never become exceptions as it's a non-fatal error.
Derick