Re: type hinting throwing a fatal error
| From: | Derick Rethans | Date: | Tue, 23 Aug 2005 12:15:26 +0000 |
| Subject: | Re: type hinting throwing a fatal error | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18305@lists.php.net to get a copy of this message | ||
On Mon, 22 Aug 2005, George Schlossnagle wrote:
> E_FATAL
>
> Leaving current errors as E_ERROR (since most are recoverable, imho)
I have a patch for this ready. In most of the engine I converted all
E_ERRORs to E_FATALs (except the type hints), and in most of the
extensions I kept the E_ERRORs in case there is proper error handling
for cases where an E_ERROR would not have aborted. Major exceptions here
are ext/hwapi, ext/soap, ext/simplexml and ext/ming. These need to be
fixed. In some cases I added RETURN_FALSE or return.
I also updated some test cases. You can find the patch here:
http://files.derickrethans.nl/e_fatal-20050823.diff.txt
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org