#39389 [Opn->WFx]: make some errors catchable

From: Date: Mon, 06 Nov 2006 08:34:05 +0000
Subject: #39389 [Opn->WFx]: make some errors catchable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104454@lists.php.net to get a copy of this message
ID: 39389 Updated by: derick@php.net Reported By: corinl at gmx dot de -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: linux debian PHP Version: 5.2.0 New Comment: Actually, they do... and why would you want to catch that in the first place? It's a coding error which you catch while testing your code. Previous Comments: ------------------------------------------------------------------------ [2006-11-05 16:59:00] corinl at gmx dot de Description: ------------ i assume php errors like -- Fatal error: Call to a member function ... on a non-object Fatal error: Call to undefined method ... -- don't leave php in an instable state. these errors should also be catchable by a custom error handler using E_RECOVERABLE_ERROR as it help's a lot with debugging. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39389&edit=1

« previous php.bugs (#104454) next »