Re: Exceptions and a real example: Tidy

From: Date: Fri, 16 Apr 2004 16:01:31 +0000
Subject: Re: Exceptions and a real example: Tidy
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-9263@lists.php.net to get a copy of this message
John Coggeshall wrote:
E_WARNINGs are exceptions.
I think this is wrong. For E_WARNING the program flow continues unchanged whether you handle the return value of e.g. fopen or not. For exceptions you _have_ to handle it, otherwise your program aborts. Two different things. - Chris

« previous php.internals (#9263) next »