php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #29191 throwing Exceptions instead of printing error messages
Submitted: 2004-07-15 23:39 UTC Modified: 2004-07-19 22:30 UTC
From: nospam0 at malkusch dot de Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nospam0 at malkusch dot de
New email:
PHP Version: OS:

 

 [2004-07-15 23:39 UTC] 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. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-19 22:30 UTC] derick@php.net
This won't happen, please find reasons in the PHP Internals Archives.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 19:01:32 2024 UTC