#29191 [Opn->WFx]: throwing Exceptions instead of printing error messages

From: Date: Mon, 19 Jul 2004 20:30:37 +0000
Subject: #29191 [Opn->WFx]: throwing Exceptions instead of printing error messages
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62674@lists.php.net to get a copy of this message
ID: 29191 Updated by: derick@php.net Reported By: nospam0 at malkusch dot de -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: * PHP Version: Irrelevant New Comment: This won't happen, please find reasons in the PHP Internals Archives. Previous Comments: ------------------------------------------------------------------------ [2004-07-15 23:39:04] nospam0 at malkusch dot de Description: ------------ It would be nice if the native methods would throw exceptions instead of printing error messages. It seems more consequent (and easier to handle) as PHP has exceptions. At least the native classes could do this. For compatibility reasons it can depend on zend.ze1_compatibility_mode or a new configuration directive. At the moment I have to wrap every method and class in order to work properly with exceptions. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29191&edit=1

« previous php.bugs (#62674) next »